I have written a small program which displays the values of an acceleration sensor as graphs. If the program runs for a moment, the colors suddenly change and pixels seem to be missing.
I was able to reduce the problem to the following small program. At least it shows the error that the color green suddenly turns red and pixels are missing.
include
void setup(void) {
GO.begin ();
/
for (int x = 100; x < 220; x++) {
GO.lcd.drawLine(x, 80, 100, 159, TFT_GREEN);
}
/
for (int x = 100; x < 220; x++) {
GO.lcd.drawLine(x, 60, 100, 179, TFT_GREEN);
}
}
I have written a small program which displays the values of an acceleration sensor as graphs. If the program runs for a moment, the colors suddenly change and pixels seem to be missing.
I was able to reduce the problem to the following small program. At least it shows the error that the color green suddenly turns red and pixels are missing.
include
void setup(void) { GO.begin (); /
for (int x = 100; x < 220; x++) { GO.lcd.drawLine(x, 80, 100, 159, TFT_GREEN); } / for (int x = 100; x < 220; x++) { GO.lcd.drawLine(x, 60, 100, 179, TFT_GREEN); } }
void loop() { }