lcd handler for weather predictor
Dependencies: C12832_lcd LCD_fonts
Revision 5:4aacf35455da, committed 2015-02-19
- Comitter:
- yukari_hinata
- Date:
- Thu Feb 19 13:52:57 2015 +0000
- Parent:
- 4:1d811ee32310
- Commit message:
- reviced
Changed in this revision
GraphicHandler.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/GraphicHandler.cpp Thu Feb 19 08:20:34 2015 +0000 +++ b/GraphicHandler.cpp Thu Feb 19 13:52:57 2015 +0000 @@ -80,7 +80,7 @@ // 時間の更新 void GraphicHandler::update_time(void) { - now_time = time(NULL) + (60 * 60 * 9); // JSTにコンバートして取得 + now_time = time(NULL); } // 最終学習時刻の更新 @@ -150,6 +150,7 @@ // ログ出力 void GraphicHandler::draw_log(const char* msg) { + lcd.cls(); draw_text_at(msg, (unsigned char *)Small_6, 0, 25); }