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.
Fork of SAILORSbot by
Diff: main.cpp
- Revision:
- 18:f43f482ddede
- Parent:
- 17:b2329b2cafa8
- Child:
- 19:c900c40b270e
--- a/main.cpp Wed Jul 22 20:00:59 2015 +0000
+++ b/main.cpp Wed Jul 22 21:06:09 2015 +0000
@@ -20,7 +20,7 @@
//////////////////////////////
/*
- * This function will be called at approximately 20 Hz when the control mode is LINE_FOLLOW_MODE
+ * This function will be called at approximately <SPEED> when the control mode is LINE_FOLLOW_MODE
*/
void line_follow_loop(){
led4 = 1;
@@ -141,6 +141,7 @@
led1 = 0;
wait_ms(50);
+
pi.sensor_reading(sensors);
int* s = sensors;
__disable_irq();
