This feature allows you to tie an ouptput to a status state. This allows you to have something like a stack light on your machine.
- report_interval_ms
- Type: Integer
- Range: (100 to 5000) milliseconds
- Default: 500
- Details: This is the update rate of the status. You also get an automatic update after status changes, so this does not need to be fast.
- run_pin:
- Type: Pin (input)
- Range: gpio or i2so
- Default: NO_PIN
- Details: Active when status is run.
- hold_pin:
- Type: Pin (input)
- Range: gpio or i2so
- Default: NO_PIN
- Details: Active when status is hold.
- alarm_pin:
- Type: Pin (input)
- Range: gpio or i2so
- Default: NO_PIN
- Details: Active when status is alarm.
status_outputs:
report_interval_ms: 500
idle_pin: gpio.26
run_pin: gpio.4
hold_pin: gpio.16
alarm_pin: gpio.27
We, just add :low
after the pin.
Yes, just add them to the code and submit a PR or donate and ask us to do it.