From 60173a1bc7138965769b495067d774436e6b97cf Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Mon, 10 Nov 2014 21:06:22 +1100 Subject: Update Nano Timer --- nanotimer/nanotimer.ino | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'nanotimer/nanotimer.ino') diff --git a/nanotimer/nanotimer.ino b/nanotimer/nanotimer.ino index a5ed6a4..7b47f70 100644 --- a/nanotimer/nanotimer.ino +++ b/nanotimer/nanotimer.ino @@ -7,9 +7,10 @@ #include #include +#include #include #include -#include "MicroLCD.h" +#include #include "config.h" #if USE_SOFTSERIAL #include @@ -238,9 +239,7 @@ private: if (times[2] == 0 && speed >= SPEED_THRESHOLD_3) { times[2] = elapsed / 100; stage = STAGE_IDLE; - lcd.clearLine(0); - lcd.clearLine(1); - lcd.clearLine(2); + lcd.clear(0, 0, 128, 24); showTimerResults(); lcd.setFontSize(FONT_SIZE_MEDIUM); lcd.setCursor(0, 0); -- cgit v1.2.3