Last active
December 22, 2020 07:18
-
-
Save RobolinkTeknoloji/8afdd03a5bb836ba7b708df95a85ff11 to your computer and use it in GitHub Desktop.
Nokia5110-Bitmap-Gorsel
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
#include <avr/pgmspace.h> | |
const unsigned char logo2 [] PROGMEM = { | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, | |
0xC0, 0xE0, 0x30, 0x38, 0x38, 0x38, 0xF0, 0xF0, 0xE0, 0x80, 0x80, 0x10, 0x00, 0x60, 0x40, 0xC0, | |
0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xE0, 0x30, 0x38, 0x3C, 0x78, 0xF1, 0xE3, | |
0xC7, 0x8F, 0x1E, 0x3C, 0x7C, 0xF8, 0x30, 0x21, 0x03, 0x87, 0x0F, 0x1E, 0x1E, 0xF8, 0xF8, 0xE1, | |
0x41, 0x03, 0x0F, 0x0F, 0x07, 0xC2, 0xE0, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x87, 0x0F, 0x1E, 0x3C, 0x7C, 0xF8, 0xF9, 0xFF, | |
0xDF, 0x8F, 0x07, 0x02, 0x30, 0x78, 0xF0, 0xE2, 0x47, 0x0F, 0x1E, 0x0E, 0x06, 0x03, 0x01, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x8F, 0xC3, 0xE1, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0E, 0x78, 0xF8, 0xE0, 0xE1, 0xC3, | |
0x07, 0x0F, 0x0E, 0x0C, 0x06, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xE0, | |
0xF0, 0xF8, 0xFC, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x01, 0x00, | |
0x00, 0x04, 0x06, 0x06, 0x06, 0x06, 0x02, 0x02, 0x10, 0x18, 0x1C, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F, | |
0x0F, 0x07, 0x07, 0x0F, 0x0F, 0x07, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | |
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 | |
}; |
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
#include <LCD5110_Basic.h> | |
LCD5110 myGLCD(8,9,10,11,12); | |
extern uint8_t logo2[]; | |
void setup() | |
{ | |
myGLCD.InitLCD(); | |
} | |
void loop() | |
{ | |
myGLCD.drawBitmap(0, 0, logo2, 80, 40); | |
delay(4000); | |
for (int i=0; i<2; i++) | |
{ | |
myGLCD.invert(true); | |
delay(500); | |
myGLCD.invert(false); | |
delay(500); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment