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:
- 1:eb527bc93b62
- Parent:
- 0:dab140a197e0
- Child:
- 2:f6ebc225f232
diff -r dab140a197e0 -r eb527bc93b62 main.cpp --- a/main.cpp Fri Jun 03 14:24:25 2016 +0000 +++ b/main.cpp Mon Jun 06 11:59:23 2016 +0000 @@ -10,15 +10,17 @@ SalinityController salt; TemperatureController temperature; - while(1) { + while(1) { printf("%d> ", count); salt.displayPPT(); - temperature.displayCelsius(); + temperature.displayTemperature(); + + temperature.controlHeater(); count++; - wait(1); + wait(0.1); } } \ No newline at end of file