Skip to content

Strange color change #8

Description

@Tinkerpete

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 <odroid_go.h>

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() {
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions