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:
- joran
- Date:
- 2016-06-10
- Revision:
- 6:067e999b9c6e
- Parent:
- 4:4011a1562a77
- Child:
- 7:8b3aef52aa7b
- Child:
- 8:24b057cbcb53
File content as of revision 6:067e999b9c6e:
#include "SalinityController.h" #include "TemperatureController.h" #include "MotorController.h" #include "LCDController.h" #include "mbed.h" int main() { int count; SalinityController salt; TemperatureController temperature; MotorController motor; LCDController lcd; // for(int i = 0; i < 20; i++) // { // motor.test(); // motor.test2(); // } lcd.splash(); while(1) { // printf("%d> ", count); // salt.displayPPT(); //temperature.displayTemperature(); // temperature.controlHeater(); lcd.updateScreen(temperature.getTemperature(),salt.getVoltage()); count++; wait(0.5); } }