smaffer / vgax

VGA library for Arduino UNO
430 stars 81 forks source link

Glitching when outputing or inputing on any ports #26

Open z3roco01 opened 2 years ago

z3roco01 commented 2 years ago

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: IMG_0607

z3roco01 commented 2 years ago

it happens when i use pinMode() too

joveaaron commented 1 year ago

I expect this to happen because the MCU has to use some cycles to swap the pin mode and write or read to/from a port.