Heroic Robotics / SD600A

Fork of SD600A by Heroic Robotics

Revision:
17:a625ffe26993
Parent:
16:910bf46f2ce4
Child:
18:a61600110235
--- a/SD600A.cpp	Thu Oct 11 04:05:02 2012 +0000
+++ b/SD600A.cpp	Thu Oct 11 04:30:47 2012 +0000
@@ -9,9 +9,12 @@
 #include "LedStrip.h"
 #include "SD600A.h"
 
-/* uint8_t current_byte;     // used by SPI ISR
-  uint32_t bit_index;       // used by SPI ISR
-  uint32_t byte_index; */
+/*
+ * Soft SPI clockout routine.  Triggered every ten microseconds,
+ * repeatedly clocks out the strip contents.  Since each update function
+ * actually updates a byte at a time, and the C-m3 peeks the write buffer,
+ * there is no need to lock the buffer.
+ */
 
 void SD600A::idle_function(void) {
     clk = 1;