34 #include <mraa/gpio.h> 48 mraa_gpio_context gpio;
upm_result_t relay_on(relay_context dev)
Definition: relay.c:52
upm_result_t relay_off(relay_context dev)
Definition: relay.c:58
struct _relay_context * relay_context
relay_context relay_init(int pin)
Definition: relay.c:28
bool relay_is_off(relay_context dev)
Definition: relay.c:74
bool relay_is_on(relay_context dev)
Definition: relay.c:64
void relay_close(relay_context dev)
Definition: relay.c:45