Program for the water play project for the course Software Testing Practical 2016 given at the VU University
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: PIDController.cpp
- Revision:
- 58:b5f0c0f305ff
- Parent:
- 57:8dc3192ff150
- Child:
- 62:52cceb263591
--- a/PIDController.cpp Sun Jun 19 22:21:08 2016 +0000 +++ b/PIDController.cpp Sun Jun 19 22:39:16 2016 +0000 @@ -22,7 +22,7 @@ // This could be done in the pumping function as well, if needed if (this->isHeating() && this->temp->getValue() >= 33.0f) { this->setHeating(false); - } else if (!this->is_heating() && this->temp->getValue() < 32.0f) { + } else if (!this->isHeating() && this->temp->getValue() < 32.0f) { this->setHeating(true); }