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 APA102 by
Revision 5:863fb3a71efd, committed 2015-04-07
- Comitter:
- rosienej
- Date:
- Tue Apr 07 01:17:05 2015 +0000
- Parent:
- 4:2afea45fce8f
- Child:
- 6:5d4edfc955f3
- Commit message:
- SPI correction....
Changed in this revision
| APA102a.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/APA102a.cpp Sat Mar 14 20:45:03 2015 +0000
+++ b/APA102a.cpp Tue Apr 07 01:17:05 2015 +0000
@@ -6,8 +6,8 @@
{
// Setup the spi for 8 bit data, high steady state clock,
- // second edge capture, with clock rate
- _spi.format(8,3);
+ // second edge capture, with clock rate, clock active low, rising edge
+ _spi.format(8,2);
_spi.frequency(rate);
}
