Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SD600A by
Diff: SD600A.h
- Revision:
- 16:910bf46f2ce4
- Parent:
- 11:97ef14b4c4de
- Child:
- 18:a61600110235
--- a/SD600A.h Wed Oct 10 06:36:39 2012 +0000 +++ b/SD600A.h Thu Oct 11 04:05:02 2012 +0000 @@ -39,8 +39,11 @@ private: void write(uint8_t byte); - uint8_t *pixels; // Holds LED color values - uint16_t numLEDs; // Number of RGB LEDs in strand + uint8_t *pixels; // Holds LED color values; also, SPI buffer. + uint32_t data_length; // used by SPI ISR + uint32_t bit_index; // used by SPI ISR + uint32_t byte_index; + uint16_t numLEDs; // Number of RGB LEDs in strand Ticker idletoggle; void idle_function(void); // toggles the clock to keep PWM working.