28 #include "mraa/gpio.h" 47 mraa_gpio_context clk, data;
upm_result_t p9813_set_led(p9813_context dev, uint16_t index, uint8_t r, uint8_t g, uint8_t b)
Definition: p9813.c:81
void p9813_close(p9813_context dev)
Definition: p9813.c:69
upm_result_t p9813_refresh(p9813_context dev)
Definition: p9813.c:116
struct _p9813_context * p9813_context
p9813_context p9813_init(int ledcount, int clk, int data)
Definition: p9813.c:31
upm_result_t p9813_set_leds(p9813_context dev, uint16_t s_index, uint16_t e_index, uint8_t r, uint8_t g, uint8_t b)
Definition: p9813.c:85