adafruit / RGB-matrix-Panel

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

Cannot compile examples #1

Closed davidadsit closed 12 years ago

davidadsit commented 12 years ago

I am using the Arduino 1.0 IDE on a WinXP machine. Everytime I attempt to comple the examples (test_colors16x32 and scroll_text16x32) I get the following error:

RGBmatrixPanel\RGBmatrixPanel.cpp:676: error: impossible constraint in 'asm'

davidadsit commented 12 years ago

The projects are working fine on my Win7 machine.

davidadsit commented 12 years ago

I was wrong. I am able to compile for the Arduino Uno, but not for the board I actually have which is the Mega 2560.

PaintYourDragon commented 12 years ago

Hi David. Okay, I've made some changes that should allow this to compile for the Mega, though I've still not tested that config myself yet. Some of the pin numbers needed to change, and as a result certain lines (such as the serial clock) won't be in the same location as on the Uno. The clock can be on any of pins 10-13 or 50-53, and the data lines will be on pins 24-29 (so no external memory interface, sorry).