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:
- 0:dab140a197e0
- Child:
- 1:eb527bc93b62
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Jun 03 14:24:25 2016 +0000 @@ -0,0 +1,24 @@ +#include "SalinityController.h" +#include "TemperatureController.h" + +#include "mbed.h" + +int main() +{ + int count; + + SalinityController salt; + TemperatureController temperature; + + while(1) { + printf("%d> ", count); + + salt.displayPPT(); + + temperature.displayCelsius(); + + count++; + + wait(1); + } +} \ No newline at end of file