Allow LED and Relay logic level to be inverted
This commit is contained in:
@ -12,7 +12,9 @@
|
||||
struct channel_t {
|
||||
uint8_t button_gpio;
|
||||
uint8_t led_gpio;
|
||||
bool led_invert;
|
||||
uint8_t relay_gpio;
|
||||
bool relay_invert;
|
||||
bool relay_state;
|
||||
double button_last_change;
|
||||
};
|
||||
|
Reference in New Issue
Block a user