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.
Dependencies: pat9125_mbed mbed
Diff: pixart_lcm/pixart_lcm.cpp
- Revision:
- 5:61318505e528
- Parent:
- 0:411244c71423
diff -r 73967d37f487 -r 61318505e528 pixart_lcm/pixart_lcm.cpp
--- a/pixart_lcm/pixart_lcm.cpp Tue Oct 17 09:23:10 2017 +0000
+++ b/pixart_lcm/pixart_lcm.cpp Wed Oct 18 10:23:12 2017 +0000
@@ -185,7 +185,7 @@
void LCM_DisplayString_Boot(boolean sen_status)
{
LCM_DisplayString(1,1,"PixArt Shaft EVK");
- LCM_DisplayString(2,1,"PAT9125 FW V2.30");
+ LCM_DisplayString(2,1,"PAT9125 FW V2.40");
delay(2000);
LCM_ClearLine(1);
@@ -198,6 +198,7 @@
else
{
LCM_DisplayString(2,1,"Read Sensor Fail");
+ while(1);//stop here if read sensor fail as a warning.
}
}