We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86bad35 commit 911e183Copy full SHA for 911e183
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## [New Release] 2017-02-12
2
+
3
+### Changed
4
+- Bug Fix: Fixed a bug where heat and cool can switched on at same time.
5
6
## [New Release] 2017-02-10
7
8
### Added
src/BangController.cpp
@@ -24,6 +24,7 @@ BangController::~BangController() {
24
25
void BangController::heat(bool _status) {
26
if( _status ) {
27
+ digitalWrite(coolPin, LOW) ;
28
digitalWrite(heatPin, HIGH) ;
29
status = 1 ;
30
}
@@ -36,6 +37,7 @@ void BangController::heat(bool _status) {
36
37
38
void BangController::cool(bool _status) {
39
if ( _status ) {
40
+ digitalWrite(heatPin, LOW) ;
41
digitalWrite(coolPin, HIGH) ;
42
status = 2 ;
43
0 commit comments