school project using led strip

Fork of PololuLedStrip by David Grayson

Files at this revision

API Documentation at this revision

Comitter:
DavidEGrayson
Date:
Thu Nov 03 21:02:47 2016 +0000
Parent:
25:5c01a6fa1556
Commit message:
Change the reset signal from 24 us to 80 us to support the SK6812.

Changed in this revision

PololuLedStrip.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/PololuLedStrip.cpp	Fri Sep 09 22:12:31 2016 +0000
+++ b/PololuLedStrip.cpp	Thu Nov 03 21:02:47 2016 +0000
@@ -65,9 +65,5 @@
     }
         
     __enable_irq();   // Re-enable interrupts now that we are done.
-    wait_us(24);      // Hold the line low for 24 microseconds to send the reset signal.
-    
-    //*(gpio.reg_set) = gpio.mask;
-    //*(gpio.reg_clr) = gpio.mask;
-
+    wait_us(80);      // Send the reset signal.
 }
\ No newline at end of file