Update readme
Dieser Commit ist enthalten in:
Ursprung
857d0ac0ec
Commit
47b2d8f40e
32
readme
32
readme
@ -19,13 +19,11 @@ Modul | Flash | Stat. RAM
|
|||||||
------------+--------------+------------
|
------------+--------------+------------
|
||||||
I2C-Core | 120 Byte | 0
|
I2C-Core | 120 Byte | 0
|
||||||
FONT | 644 Byte | 0
|
FONT | 644 Byte | 0
|
||||||
Oled (TXT) | 1303 Byte | 2 Byte
|
Oled (TXT) | 1475 Byte | 3 Byte
|
||||||
Oled (GFX) | 2293 Byte | 1026 Byte
|
Oled (GFX) | 2473 Byte | 1027 Byte
|
||||||
|
|
||||||
Speed (print 20 charaters to display):
|
Speed (print 20 charaters to display):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Mode | Time | I2C-Speed
|
Mode | Time | I2C-Speed
|
||||||
------------+------------+------------
|
------------+------------+------------
|
||||||
Oled (TXT) | 4.411 ms | 400 kHz
|
Oled (TXT) | 4.411 ms | 400 kHz
|
||||||
@ -55,3 +53,29 @@ int main(void){
|
|||||||
}
|
}
|
||||||
return 0;
|
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;
|
||||||
|
}
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren