28 #include "mraa/gpio.h" struct _apa102_context * apa102_context
upm_result_t apa102_refresh(apa102_context dev)
Definition: apa102.c:126
void apa102_close(apa102_context dev)
Definition: apa102.c:79
upm_result_t apa102_set_leds_brightness(apa102_context dev, uint16_t s_index, uint16_t e_index, uint8_t brightness)
Definition: apa102.c:114
upm_result_t apa102_set_leds(apa102_context dev, uint16_t s_index, uint16_t e_index, uint8_t brightness, uint8_t r, uint8_t g, uint8_t b)
Definition: apa102.c:99
upm_result_t apa102_set_led_brightness(apa102_context dev, uint16_t index, uint8_t brightness)
Definition: apa102.c:95
apa102_context apa102_init(int ledcount, int bus, int cs)
Definition: apa102.c:31
upm_result_t apa102_set_led(apa102_context dev, uint16_t index, uint8_t brightness, uint8_t r, uint8_t g, uint8_t b)
Definition: apa102.c:91