Dieser Commit ist enthalten in:
Sylaina 2018-12-05 08:04:14 +01:00 committet von GitHub
Ursprung 857d0ac0ec
Commit 47b2d8f40e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

32
readme
Datei anzeigen

@ -19,13 +19,11 @@ Modul | Flash | Stat. RAM
------------+--------------+------------
I2C-Core | 120 Byte | 0
FONT | 644 Byte | 0
Oled (TXT) | 1303 Byte | 2 Byte
Oled (GFX) | 2293 Byte | 1026 Byte
Oled (TXT) | 1475 Byte | 3 Byte
Oled (GFX) | 2473 Byte | 1027 Byte
Speed (print 20 charaters to display):
Mode | Time | I2C-Speed
------------+------------+------------
Oled (TXT) | 4.411 ms | 400 kHz
@ -55,3 +53,29 @@ int main(void){
}
return 0;
}
example for chars with double height:
//****main.c****//
#include "lcd.h"
int main(void){
lcd_init(LCD_DISP_ON);
lcd_clrscr();
lcd_set_contrast(0x00);
for(;;){
lcd_gotoxy(4,1);
lcd_puts("Normal Size");
lcd_charMode(DOUBLESIZE);
lcd_gotoxy(0,4);
lcd_puts(" Double \r\n Size");
lcd_charMode(NORMALSIZE);
#ifdef GRAPHICMODE
lcd_display();
#endif
}
return 0;
}