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: mbed MCP23017 mbed-rtos WattBob_TextLCD
Diff: main.cpp
- Revision:
- 3:d888509e77b8
- Parent:
- 2:51a06b9a52d1
- Child:
- 4:72c487215487
--- a/main.cpp Mon Mar 26 14:47:56 2018 +0000
+++ b/main.cpp Mon Mar 26 14:56:16 2018 +0000
@@ -217,17 +217,17 @@
lcd = new WattBob_TextLCD(par_port); // initialise 2*26 char display
par_port->write_bit(1,BL_BIT); // turn LCD backlight ON
- sp.start(getSpeed); //20
- task1.start(acceleration); //10
- task2.start(ignition); //2
- task3.start(speedo); //5
- task4.start(braking); //2
- task5.start(greatScott); //1
- task6.start(LCD); //2
- task7.start(callback(send_thread)); //0.2
- //task8.start(); //0.05
- task9.start(lights); //1
- task10.start(indicators); //0.5
+ sp.start(getSpeed); //20
+ task1.start(acceleration); //10
+ task2.start(ignition); //2
+ task3.start(speedo); //5
+ task4.start(braking); //2
+ task5.start(greatScott); //1
+ task6.start(LCD); //2
+ task7.start(callback(send_thread)); //0.2
+ task8.start(toSerial); //0.05
+ task9.start(lights); //1
+ task10.start(indicators); //0.5
}