41 #include <mraa/gpio.h> 59 mraa_gpio_context gpioClk;
60 mraa_gpio_context gpioData;
65 uint16_t lowIntensity;
66 uint16_t highIntensity;
68 unsigned int instances;
81 unsigned int max_leds_per_instance;
int my9221_get_max_leds(const my9221_context dev)
Definition: my9221.c:224
void my9221_clear_all(const my9221_context dev)
Definition: my9221.c:190
void my9221_set_all(const my9221_context dev)
Definition: my9221.c:179
struct _my9221_context * my9221_context
void my9221_refresh(const my9221_context dev)
Definition: my9221.c:201
my9221_context my9221_init(int dataPin, int clockPin, int instances)
Definition: my9221.c:51
void my9221_set_high_intensity_value(const my9221_context dev, int intensity)
Definition: my9221.c:171
void my9221_set_low_intensity_value(const my9221_context dev, int intensity)
Definition: my9221.c:163
void my9221_set_led(const my9221_context dev, int led, bool on)
Definition: my9221.c:146
void my9221_close(my9221_context dev)
Definition: my9221.c:123
void my9221_set_auto_refresh(const my9221_context dev, bool enable)
Definition: my9221.c:217