PixArt Imaging / Mbed 2 deprecated PAT9125_OTS_K64F

Dependencies:   pat9125_mbed mbed

Revision:
5:61318505e528
Parent:
0:411244c71423
--- 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.
   }
 }