Heroic Robotics / SD600A

Fork of SD600A by Heroic Robotics

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.