38 #include <mraa/common.hpp>
39 #include <mraa/gpio.hpp>
52 static const int LEDS_PER_INSTANCE = 12;
61 MY9221(uint8_t dataPin, uint8_t clockPin,
int instances=1);
78 m_autoRefresh = enable;
88 void setLED(
int led,
bool on);
128 virtual void lockData();
129 virtual void send16bitBlock(uint16_t data);
134 uint16_t m_lowIntensity;
135 uint16_t m_highIntensity;
137 unsigned int m_instances;
142 uint16_t *m_bitStates;
144 uint16_t m_commandWord;
146 mraa::Gpio m_gpioClk;
147 mraa::Gpio m_gpioData;
~MY9221()
Definition: my9221.cxx:87
void setLowIntensityValue(int intensity)
Definition: my9221.cxx:112
void refresh()
Definition: my9221.cxx:140
void setHighIntensityValue(int intensity)
Definition: my9221.cxx:117
void setLED(int led, bool on)
Definition: my9221.cxx:97
void setAll()
Definition: my9221.cxx:122
void clearAll()
Definition: my9221.cxx:131
void setAutoRefresh(bool enable)
Definition: my9221.h:76
MY9221(uint8_t dataPin, uint8_t clockPin, int instances=1)
Definition: my9221.cxx:47