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: TS_DISCO_F746NG mbed BufferedSerial LCD_DISCO_F746NG mbed-rtos Trigo BSP_DISCO_F746NG
Diff: Communication.cpp
- Revision:
- 2:8f71c97fe9d7
- Parent:
- 1:1ff3fe3679c1
- Child:
- 5:734551a9f4e7
--- a/Communication.cpp Wed Nov 23 16:18:07 2016 +0000
+++ b/Communication.cpp Wed Nov 23 17:01:03 2016 +0000
@@ -100,7 +100,7 @@
int16_t distanceXLCD,distanceYLCD;
//Wait for motor stabilization
- wait_ms(2000);
+// wait_ms(2000);
//Send command
lidar.putc(0xA5);
@@ -112,8 +112,8 @@
{
pc.putc(lidar.getc());
}
-
- wait_ms(2000);
+// Wait for motor stabilization
+ wait_ms(1000);
//lcdComm.Clear(LCD_COLOR_BLACK);
lcdComm.SetBackColor(LCD_COLOR_GREEN);
// lcdComm.SetTextColor(LCD_COLOR_WHITE);