GrowNode
gn_pump_hs.h File Reference

Functions

gn_leaf_descriptor_handle_t gn_pump_hs_config (gn_leaf_handle_t leaf_config)
 

Variables

static const char GN_LEAF_PUMP_HS_TYPE [] = "pump_hs"
 
static const char GN_PUMP_HS_PARAM_TOGGLE [] = "toggle"
 
static const char GN_PUMP_HS_PARAM_POWER [] = "power"
 
static const char GN_PUMP_HS_PARAM_CHANNEL [] = "channel"
 
static const char GN_PUMP_HS_PARAM_GPIO_POWER [] = "gpio_power"
 
static const char GN_PUMP_HS_PARAM_GPIO_TOGGLE [] = "gpio_toggle"
 

Function Documentation

◆ gn_pump_hs_config()

gn_leaf_descriptor_handle_t gn_pump_hs_config ( gn_leaf_handle_t  leaf_config)

Variable Documentation

◆ GN_LEAF_PUMP_HS_TYPE

const char GN_LEAF_PUMP_HS_TYPE[] = "pump_hs"
static

◆ GN_PUMP_HS_PARAM_CHANNEL

const char GN_PUMP_HS_PARAM_CHANNEL[] = "channel"
static

0 = channel A, 1 = channel B

◆ GN_PUMP_HS_PARAM_GPIO_POWER

const char GN_PUMP_HS_PARAM_GPIO_POWER[] = "gpio_power"
static

the GPIO to connect the pump (must be PWM capable)

◆ GN_PUMP_HS_PARAM_GPIO_TOGGLE

const char GN_PUMP_HS_PARAM_GPIO_TOGGLE[] = "gpio_toggle"
static

the GPIO to connect the pump (must be PWM capable)

◆ GN_PUMP_HS_PARAM_POWER

const char GN_PUMP_HS_PARAM_POWER[] = "power"
static

0 = off, 1024 = maximum

◆ GN_PUMP_HS_PARAM_TOGGLE

const char GN_PUMP_HS_PARAM_TOGGLE[] = "toggle"
static

0 = off, 1 = on