Last active
February 10, 2016 17:21
-
-
Save itpcc/b9063e3937e6ec355893 to your computer and use it in GitHub Desktop.
Example of using PROGMEM and making image transition by delay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(millis()-lastCheckEPOCH > 200){ | |
for(i = 0; i < 128; i++) | |
bitmapBuffer[i] = pgm_read_byte(&sawasdee[(rowDisplay*128)+i]); | |
OLED.LED_PrintBMP(0, rowDisplay, 127, rowDisplay, bitmapBuffer); | |
lastCheckEPOCH = millis(); | |
Serial.print("rowDisplay : "); Serial.println(rowDisplay); | |
rowDisplay++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment