LED Strip with K64F

Fork of PololuLedStrip by David Grayson

Files at this revision

API Documentation at this revision

Comitter:
michaeljkoster
Date:
Tue Aug 19 00:20:41 2014 +0000
Parent:
21:87fd6273e0ff
Commit message:
Trying LED strip with K64F

Changed in this revision

PololuLedStrip.cpp Show annotated file Show diff for this revision Revisions of this file
led_strip_write_color.s Show annotated file Show diff for this revision Revisions of this file
--- a/PololuLedStrip.cpp	Tue Nov 26 23:05:08 2013 +0000
+++ b/PololuLedStrip.cpp	Tue Aug 19 00:20:41 2014 +0000
@@ -38,7 +38,7 @@
 
 PololuLedStrip::PololuLedStrip(PinName pinName)
 {
-    gpio_init(&gpio, pinName, PIN_OUTPUT);
+    gpio_init_out(&gpio, pinName);
 }
 
 void PololuLedStrip::write(rgb_color * colors, unsigned int count)
--- a/led_strip_write_color.s	Tue Nov 26 23:05:08 2013 +0000
+++ b/led_strip_write_color.s	Tue Aug 19 00:20:41 2014 +0000
@@ -65,7 +65,7 @@
 
     delay #0
 
-    tst r6, r8
+    ;tst r6, r8
     ldr r4, =0x80000000
     tst r6, r4
     beq delay1