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:
- 40:1668630544c7
- Parent:
- 35:c9261391a995
- Child:
- 41:dce2c29f49cd
--- a/main.cpp Tue Jun 14 19:11:19 2016 +0000 +++ b/main.cpp Wed Jun 15 07:25:53 2016 +0000 @@ -54,11 +54,13 @@ MockSensorController salt(false,0,salt_mock); controllers.push_back((void *)&salt); - AlarmController alarm(false,0,&temperature,&salt,&proximity); + PIDController pidc(false,0,&temperature,&salt,&proximity); + controllers.push_back((void *)&pidc); + + AlarmController alarm(false,0,&temperature,&salt,&proximity, &pidc); controllers.push_back((void *)&alarm); - PIDController pidc(false,0,&temperature,&salt,&proximity); - controllers.push_back((void *)&pidc); + // -----------------------------------------------------------------------------