GrowNode
gn_easypot1.c File Reference

Macros

#define TAG   "gn_easypot1"
 

Functions

void moisture_callback (const gn_leaf_handle_t moist)
 
void temp_callback (const gn_leaf_handle_t temp)
 
void gn_configure_easypot1 (gn_node_handle_t node)
 

Variables

gn_leaf_handle_t moist
 
gn_leaf_handle_t temp
 
gn_leaf_handle_t led_moist
 
gn_leaf_handle_t led_temp
 
double moist_last
 
double temp_last
 
const double moist_min = 1
 
const double moist_max = 3
 
const double temp_min = 15
 
const double temp_max = 28
 
const double blink_time_high = 300
 
const double blink_time_low = 2000
 

Macro Definition Documentation

◆ TAG

#define TAG   "gn_easypot1"

Function Documentation

◆ gn_configure_easypot1()

void gn_configure_easypot1 ( gn_node_handle_t  node)

◆ moisture_callback()

void moisture_callback ( const gn_leaf_handle_t  moist)

◆ temp_callback()

void temp_callback ( const gn_leaf_handle_t  temp)

Variable Documentation

◆ blink_time_high

const double blink_time_high = 300

◆ blink_time_low

const double blink_time_low = 2000

◆ led_moist

gn_leaf_handle_t led_moist

◆ led_temp

gn_leaf_handle_t led_temp

◆ moist

◆ moist_last

double moist_last

◆ moist_max

const double moist_max = 3

◆ moist_min

const double moist_min = 1

◆ temp

◆ temp_last

double temp_last

◆ temp_max

const double temp_max = 28

◆ temp_min

const double temp_min = 15