Open Minostaurus0 opened 8 years ago
Thanks for your contribution, it is a good starting point for my experiments. In my setup, there is a 32x64 rgb matrix panel connected to a Teensy 3.5. There are a few minor issues with the changes:
swap(x,y)
is not definied.Please have a look at 518b9fff52e748fb9cb7f01ffb664c517a2e88ac for my changes.
Do you think this cleanly extends to 64x64? I've tried this on a Teensy 3.2 with a 64x64 panel I received (which has an extra pin, E), and created a new instantiation - passing in false, 64, 64
:
RGBmatrixPanel::RGBmatrixPanel(boolean dbuf, uint8_t width, uint8_t height) :
Adafruit_GFX(width, height) {
init(height/2, dbuf, width);
}
but not getting great results. I can get the full panel to have colors, but never what I expect. I've added the e
pin everywhere the d
pin is but I wonder if maybe I need to do something specific with the PORTD mapping, or perhaps the e
pin needs to be on a specific port...still investigating.
Added Support for Teensy 3.1. By default:
The rest should work like before. But i can not test it. Teensy stuff was added inside defines CORE_TEENSY