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
main.cpp
- Committer:
- 6366295
- Date:
- 2016-06-07
- Revision:
- 2:f6ebc225f232
- Parent:
- 1:eb527bc93b62
- Child:
- 4:4011a1562a77
File content as of revision 2:f6ebc225f232:
#include "SalinityController.h" #include "TemperatureController.h" #include "MotorController.h" #include "mbed.h" int main() { int count; SalinityController salt; TemperatureController temperature; MotorController motor; for(int i = 0; i < 20; i++) { motor.test(); } while(1) { printf("%d> ", count); salt.displayPPT(); temperature.displayTemperature(); temperature.controlHeater(); count++; wait(0.1); } }