RPLIDAR A1M8 LCD
Dependencies: TS_DISCO_F746NG mbed BufferedSerial LCD_DISCO_F746NG mbed-rtos Trigo BSP_DISCO_F746NG
Diff: Communication.cpp
- Revision:
- 1:1ff3fe3679c1
- Parent:
- 0:88706d6abbf7
- Child:
- 2:8f71c97fe9d7
--- a/Communication.cpp Wed Nov 23 15:19:33 2016 +0000 +++ b/Communication.cpp Wed Nov 23 16:18:07 2016 +0000 @@ -114,11 +114,9 @@ } wait_ms(2000); - lcdComm.Clear(LCD_COLOR_BLACK); + //lcdComm.Clear(LCD_COLOR_BLACK); lcdComm.SetBackColor(LCD_COLOR_GREEN); - // lcdComm.Clear(LCD_COLOR_BLUE); -// lcdComm.SetBackColor(LCD_COLOR_BLUE); - lcdComm.SetTextColor(LCD_COLOR_WHITE); +// lcdComm.SetTextColor(LCD_COLOR_WHITE); wait(0.3); countClear=0; @@ -158,7 +156,7 @@ // lcdComm.DrawPixel(distanceXLCD,distanceYLCD,LCD_COLOR_GREEN); wait_ms(1); -// + if (countClear > 360) { @@ -166,10 +164,6 @@ countClear=0; } - - - - } }