WS2812B

Dependents:   high speed light Bracelet

Fork of PololuLedStrip by David Grayson

Revision:
22:2fcd4e3cd8ac
Parent:
19:46d7ab0ba3e7
diff -r 87fd6273e0ff -r 2fcd4e3cd8ac PololuLedStrip.cpp
--- a/PololuLedStrip.cpp	Tue Nov 26 23:05:08 2013 +0000
+++ b/PololuLedStrip.cpp	Wed Jul 23 01:29:44 2014 +0000
@@ -38,7 +38,7 @@
 
 PololuLedStrip::PololuLedStrip(PinName pinName)
 {
-    gpio_init(&gpio, pinName, PIN_OUTPUT);
+    gpio_init(&gpio, pinName);
 }
 
 void PololuLedStrip::write(rgb_color * colors, unsigned int count)