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 DRV88255 TextLCD Ping mbed-rtos
Diff: main.cpp
- Revision:
- 2:f6ebc225f232
- Parent:
- 1:eb527bc93b62
- Child:
- 4:4011a1562a77
--- a/main.cpp Mon Jun 06 11:59:23 2016 +0000 +++ b/main.cpp Tue Jun 07 11:28:49 2016 +0000 @@ -1,5 +1,6 @@ #include "SalinityController.h" #include "TemperatureController.h" +#include "MotorController.h" #include "mbed.h" @@ -9,6 +10,12 @@ SalinityController salt; TemperatureController temperature; + MotorController motor; + + for(int i = 0; i < 20; i++) + { + motor.test(); + } while(1) { printf("%d> ", count);