Updated with option to return from BP screen to main screen, resolved screen navigation issues
Dependencies: SDFileSystem TFTLCD_8bit ds3231 program mbed
Fork of poc_dis_5 by
Diff: display_modules.cpp
- Revision:
- 2:3b7b71bfc941
- Parent:
- 1:8316c23ec6b9
- Child:
- 3:9a06c2bed650
--- a/display_modules.cpp Mon Jan 30 07:45:41 2017 +0000 +++ b/display_modules.cpp Mon Jan 30 10:57:38 2017 +0000 @@ -98,8 +98,8 @@ void screen_ecg_2() { DisableTouch(); - // lcd.FillRect(5,90,230,320,COLOR_BLACK); - // lcd.Print( "DONE", CENTER, 95); + lcd.FillRect(5,90,230,320,COLOR_BLACK); + lcd.Print( "DONE", CENTER, 95); lcd.FillRoundRect(60,230,180,300,COLOR_GREEN); lcd.Print( "RET",100,250,COLOR_BLACK,COLOR_GREEN,0); EnableTouch(); @@ -150,6 +150,7 @@ lcd.Print( tim1,120,120,COLOR_YELLOW,COLOR_BLACK, 0); } + lcd.Print( "Tst in Progres",3,150,COLOR_GREEN,COLOR_BLACK,0); EnableTouch(); } @@ -209,6 +210,6 @@ DisableTouch(); lcd.FillRect(5,127,230,320,COLOR_BLACK); char buf[10]; - sprintf (buf, "BG is %d mgdl",mgdl); + sprintf (buf, "BG is %d mg/dl",mgdl); lcd.Print( buf, 5,100,COLOR_YELLOW,COLOR_BLACK, 0); } \ No newline at end of file