I'm using a mega2560 and I'm trying to take any input(digital and analog) or output anything but it glitches the video this is what it looks like: 