add optional mcode to arm or disarm the temperature switch.
authorJim Morris <morris@wolfman.com>
Tue, 8 Sep 2015 10:21:46 +0000 (03:21 -0700)
committerJim Morris <morris@wolfman.com>
Tue, 8 Sep 2015 10:21:46 +0000 (03:21 -0700)
commit81300c80190c25be0fde37ed8d2ec8e997808f26
tree7f7f2b7cd9fa1d9ba8ee67b4c1401759f8bbb982
parentc0c375b0ea7b678c2ca775abd18f3d10872d757e
add optional mcode to arm or disarm the temperature switch.
  when armed it will switch on the specified trigger otherwise it'll just change state but not actuate the switch
  once armed it will do a one_shot on the trigger and disarm itself, and will need to be armed again before it will switch again

  temperature_switch.psoff_when_cool.arm_mcode  1100

M1100 S1 will arm
M1100 or M1100 S0 will disarm
src/modules/tools/temperatureswitch/TemperatureSwitch.cpp
src/modules/tools/temperatureswitch/TemperatureSwitch.h