adafruit / RGB-matrix-Panel

Arduino library and example code for the 16x32 RGB matrix panels in the shop
http://www.adafruit.com/products/420
303 stars 145 forks source link

Very slow refreh rate with ATmega328P (Arduino Mini Pro) #24

Closed maxammann closed 8 years ago

maxammann commented 8 years ago

Heyho,

having some problems with this library. The refresh rate of my matrix display is very slow. If you fill the screen you can view the individual pixels updating one by one(not flickering or artifacts). Already tried another Mini Pro which also showed the same result.

Any ideas what could cause this problem? As far as I know the Mini Pro is a powerful as an Arduino Uno so there should be no problem.

Video (View with 0.25 speed)

maxammann commented 8 years ago

Added Video. If It try to fill the screen with black and white it instantly updates the whole screen at once.

Seems like double buffering would solve my issue. But for some reason I can not get it working. The screen just stays black.

maxammann commented 8 years ago

So the problem is that the atmega328 does not have enough ram to support double buffering when using a 32x32 matrix