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:
- 28:f4a4ee58d57e
- Parent:
- 19:ee89eabe1fa2
- Child:
- 34:e2d7865063da
--- a/main.cpp Tue Jun 14 09:23:29 2016 +0000 +++ b/main.cpp Tue Jun 14 09:46:31 2016 +0000 @@ -8,6 +8,7 @@ #include "ProximityController.h" #include "AlarmController.h" #include "MockSensorController.h" +#include "PIDController.h" #include "mbed.h" #include "rtos.h" @@ -56,6 +57,9 @@ AlarmController alarm(false,0,&temperature,&salt,&proximity); controllers.push_back((void *)&alarm); + + PIDController pidc(false,0,&temperature,&salt,&proximity); + controllers.push_back((void *)&pidc); // -----------------------------------------------------------------------------