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:
- 7:8b3aef52aa7b
- Parent:
- 6:067e999b9c6e
- Child:
- 9:b3674516729d
File content as of revision 7:8b3aef52aa7b:
#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.getAdjustedPPT()); count++; wait(0.5); } }