Fork of C12832_lcd, for updating sleep functions per api docs
Diff: C12832_lcd.cpp
- Revision:
- 11:28ca82f0983a
- Parent:
- 10:8f86576007d6
diff -r 8f86576007d6 -r 28ca82f0983a C12832_lcd.cpp --- a/C12832_lcd.cpp Sun Oct 27 23:16:07 2013 +0000 +++ b/C12832_lcd.cpp Mon Nov 15 17:23:11 2021 +0000 @@ -139,7 +139,7 @@ _reset = 0; // display reset wait_us(50); _reset = 1; // end reset - wait_ms(5); + thread_sleep_for(5); /* Start Initial Sequence ----------------------------------------------------*/ @@ -172,8 +172,7 @@ memset(buffer,0x00,512); // clear display buffer copy_to_lcd(); auto_up = 1; // switch on auto update - // dont do this by default. Make the user call - //claim(stdout); // redirekt printf to lcd + claim(stdout); // redirekt printf to lcd locate(0,0); set_font((unsigned char*)Small_7); // standart font }