GrowNode
gn_blink.h File Reference

Functions

void gn_configure_blink (gn_node_handle_t node)
 this example makes a led blinking, either via network commands or after a timer More...
 

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