Update readme

pull/7/head
Sylaina 6 years ago committed by GitHub
parent 857d0ac0ec
commit 47b2d8f40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save