freetronics / DMD2

Beta release of a new Dot Matrix Display Arduino library
http://forum.freetronics.com/viewtopic.php?f=26&t=5893
GNU General Public License v3.0
80 stars 71 forks source link

Issue with rows flickering that should not be on. #50

Open lorenparfitt opened 5 years ago

lorenparfitt commented 5 years ago

Hi Found a bug where the base row (row 0,4,8 etc) would flicker the same column as any other columns in that row group that had pixels on. I.e. if row 1, column 4 was set to ion, row 0, column 4 would flicker.

This is due to the output enable not being disabled while shifting in new data.

I added the following code to the start of scan_display: if(brightness == 255) digitalWrite(pin_noe, LOW); else analogWrite(pin_noe, 0);

This will disable the output driver while the display is updated and will get rid of that flickering.