Heroic Robotics / SD600A

Fork of SD600A by Heroic Robotics

Revision:
18:a61600110235
Parent:
16:910bf46f2ce4
Child:
19:43cb725a2598
--- a/SD600A.h	Thu Oct 11 04:30:47 2012 +0000
+++ b/SD600A.h	Thu Oct 11 04:40:47 2012 +0000
@@ -17,7 +17,7 @@
 #define MBED_SD600A_H
 
 //#define DELAY_PERIOD (1)
-#define IDLE_INTERVAL (10)
+#define INTERRUPT_INTERVAL (20)
 
 class SD600A : public LedStrip {
 
@@ -45,7 +45,7 @@
   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.
+  void spi_isr(void); // toggles the clock to keep PWM working.
     
   void
     writeguard(void);