For this item to be accepted as complete:
For example, if killswitch_pin is 8 and killswitch_pin_default_value is false, then:
- If a message with value
true is received, GPIO pin 8 must be set to VCC ;
- If a message with value
false is received, GPIO pin 8 must be set to GND.
And, if killswitch_pin is 8 and killswitch_pin_default_value is true, then:
- If a message with value
true is received, GPIO pin 8 must be set to GND;
- If a message with value
false is received, GPIO pin 8 must be set to VCC.
For this item to be accepted as complete:
/killswitchdirectory ;/killswitch_state;killswitch_pin;killswitch_pin_default_value;killswitch_pinmust be set to the value contained inkillswitch_pin_defaultif the value of the message is false.For example, if
killswitch_pinis8andkillswitch_pin_default_valueisfalse, then:trueis received, GPIO pin 8 must be set to VCC ;falseis received, GPIO pin 8 must be set to GND.And, if
killswitch_pinis8andkillswitch_pin_default_valueistrue, then:trueis received, GPIO pin 8 must be set to GND;falseis received, GPIO pin 8 must be set to VCC.