GrowNode
|
Macros | |
#define | TAG "gn_blink" |
Functions | |
void | led_blink_callback (const gn_leaf_handle_t blink) |
void | gn_configure_blink (gn_node_handle_t node) |
this example makes a led blinking, either via network commands or after a timer More... | |
#define TAG "gn_blink" |
void gn_configure_blink | ( | gn_node_handle_t | node | ) |
this example makes a led blinking, either via network commands or after a timer
here we use the gn_relay leaf attached to GPIO2 to let the LED blink
Thanks to Adamo Ferro for the idea
void led_blink_callback | ( | const gn_leaf_handle_t | blink | ) |