GrowNode
gn_blink.c File Reference

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...
 

Macro Definition Documentation

◆ TAG

#define TAG   "gn_blink"

Function Documentation

◆ gn_configure_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

◆ led_blink_callback()

void led_blink_callback ( const gn_leaf_handle_t  blink)