GrowNode
|
Functions | |
gn_leaf_descriptor_handle_t | gn_pump_config (gn_leaf_handle_t leaf_config) |
Variables | |
static const char | GN_LEAF_PUMP_TYPE [] = "pump" |
static const char | GN_PUMP_PARAM_TOGGLE [] = "toggle" |
static const char | GN_PUMP_PARAM_POWER [] = "power" |
static const char | GN_PUMP_PARAM_CHANNEL [] = "channel" |
static const char | GN_PUMP_PARAM_GPIO_POWER [] = "gpio_power" |
static const char | GN_PUMP_PARAM_GPIO_TOGGLE [] = "gpio_toggle" |
gn_leaf_descriptor_handle_t gn_pump_config | ( | gn_leaf_handle_t | leaf_config | ) |
|
static |
|
static |
0 = channel A, 1 = channel B
|
static |
the GPIO to connect the pump (must be PWM capable)
|
static |
the GPIO to connect the pump (must be PWM capable)
|
static |
0 = off, 1024 = maximum
|
static |
0 = off, 1 = on