hi
i tried to modified scrolltext 16x32 rgb matrix, mega2560, ide1.5.2. the sketch from default example. after trial n error for making it running opposite, from left to right. here my code. its not working perfectly, its not continues, hope someone help me for making it better.
char str[] = "Adafruit 16x32 RGB LED Matrix";
int textX = 1 ,
textMin = sizeof(str) * -12;
long hue = 0;
void setup() {
matrix.begin();
matrix.setTextWrap(false); // Allow text to run off right edge
matrix.setTextSize(2);
}
void loop() {
// Clear background
matrix.fillScreen(0);
// Draw big scrolly text on top
matrix.setTextColor(matrix.ColorHSV(hue, 255, 255, true));
matrix.setCursor(textX, 1);
matrix.print(str);
textX = textX +1;
if (++textX < textMin) textX = matrix.width();
hue +=4;
delay(150);
// Update display
matrix.swapBuffers(false);
}