Got it. Issue with the power supply. I may have been picking up ripple on the 5volt. New power supply ie problem solved.