Dieser Commit ist enthalten in:
Sylaina 2018-09-18 21:50:22 +02:00 committet von GitHub
Ursprung 052b5f8509
Commit 61ca2e1dc7
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

2
lcd.c
Datei anzeigen

@ -119,9 +119,9 @@ void lcd_init(uint8_t dispAttr){
}
void lcd_gotoxy(uint8_t x, uint8_t y){
if( x > (DISPLAY_WIDTH/sizeof(FONT[0])) || y > (DISPLAY_HEIGHT/8-1)) return;// out of display
x = x * sizeof(FONT[0]);
cursorPosition.x=x;
cursorPosition.y=y;
x = x * sizeof(FONT[0]);
#if defined SSD1306
uint8_t commandSequence[] = {0xb0+y, 0x21, x, 0x7f};
#elif defined SH1106