Skip to content

Instantly share code, notes, and snippets.

@atc1441
Last active August 17, 2019 16:18
Show Gist options
  • Save atc1441/f8ec71f074e33e6f0188576180b7ae87 to your computer and use it in GitHub Desktop.
Save atc1441/f8ec71f074e33e6f0188576180b7ae87 to your computer and use it in GitHub Desktop.
in Setup()
memset(img, 0, sizeof(img));
int d, e;
for (d = 0; d <= 16; d++) {
for (e = 0; e <= 16; e++) {
setPixel( 16 + d, 32 + e);
}
}
before display.display()
int d, e;
for (d = 0; d <= 16; d++) {
for (e = 0; e <= 16; e++) {
display.drawPixel( 32 + e, 16 + d,WHITE);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment