Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PololuLedStrip by
Revision 22:bda8af613d4d, committed 2014-08-19
- 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 |
diff -r 87fd6273e0ff -r bda8af613d4d PololuLedStrip.cpp --- 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)
diff -r 87fd6273e0ff -r bda8af613d4d led_strip_write_color.s --- 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