Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Dashboard.cpp
- Revision:
- 5:3047f8d8321b
- Parent:
- 4:f6aa318ecda0
- Child:
- 6:051411e193b0
--- a/Dashboard.cpp Tue May 23 12:00:46 2017 +0000
+++ b/Dashboard.cpp Tue May 23 12:42:43 2017 +0000
@@ -113,6 +113,11 @@
command(2, 0b01000011);
command(3, 0xA0);
command(3, 0b01000000);
+
+ //when recalled, clear screens completely
+ clearDisplay(1);
+ clearDisplay(2);
+ clearDisplay(3);
}
void Dashboard::welcomeScreen()
@@ -205,7 +210,6 @@
writeLetter(2, ':', 46, 47);
writeNumber(2, voltage_in, 46, 13, 5, false);
- writeLetter(2, 'm', 46, 4);
writeLetter(2, 'V', 46, 0);
writeLetter(2, 'T', 36, 59);
@@ -251,7 +255,6 @@
writeLetter(2, ':', 66, 43);
writeNumber(2, battery_voltage, 66, 13, 5, false);
- writeLetter(2, 'm', 66, 4);
writeLetter(2, 'V', 66, 0);
}