Changeset 18 for trunk/Arduino/libraries
- Timestamp:
- Sep 10, 2019, 11:19:19 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/Arduino/libraries/OT_Slave/OT_Slave.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Arduino/libraries/OT_Slave/OT_Slave.cpp
r17 r18 42 42 pinMode(THERMOSTAT_OUT, OUTPUT); // low output = high current, high output = low current 43 43 cbAction = cb; 44 digitalWrite(LED_BUILTIN, LOW); // Built-in LED off45 pinMode(LED_BUILTIN, OUTPUT);46 44 } 47 45 … … 166 164 chEnable = enable; 167 165 chActive = enable; 168 digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW); // Built-in LED on/off169 166 return chEnable; 170 167 } … … 174 171 chEnable = false; 175 172 chActive = false; 176 digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW); // Built-in LED on/off177 173 return chEnable; 178 174 } … … 187 183 dhwEnable = enable; 188 184 dhwActive = enable; 189 digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW); // Built-in LED on/off190 185 return dhwEnable; 191 186 } … … 195 190 dhwEnable = false; 196 191 dhwActive = false; 197 digitalWrite(LED_BUILTIN, IsActive() ? HIGH : LOW); // Built-in LED on/off198 192 return dhwEnable; 199 193 }
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/Paradigma/chrome/site/paradigma.png)