User mini profile

- Fri Nov 06, 2015 12:00 pm#33275
Based on the mods i made to the interpreter at viewtopic.php?f=43&t=6229#p33254, as well as bits pulled from the examples, here is the code for a simple heater thermostat based on a DS18B20 temperature sensor:

Update 2015-11-07: the new temp command is now in the interpreter, the code is changed to reflect that.

User mini profile

- Fri Nov 06, 2015 6:58 pm#33307
I integrated the source from your other post tonight in to the main branch. Made a change to the command. Device id is first before the variable for result to be placed in like other input commands. Updated your demo to reflect these changes. Modified code below.

User mini profile

Mmiscool wrote:I integrated the source from your other post tonight in to the main branch. Made a change to the command. Device id is first before the variable for result to be placed in like other input commands. Updated your demo to reflect these changes. Modified code below.