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 Adafruit_WS2801 by
Revision 5:b99161307af3, committed 2015-01-16
- Comitter:
- AlanRager
- Date:
- Fri Jan 16 05:36:02 2015 +0000
- Parent:
- 4:987c91c45188
- Commit message:
- Initial commit - got the led's blinking and everything!
Changed in this revision
Adafruit_WS2801.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Adafruit_WS2801.cpp Tue Jun 03 20:19:23 2014 +0000 +++ b/Adafruit_WS2801.cpp Fri Jan 16 05:36:02 2015 +0000 @@ -6,7 +6,7 @@ // Written by Adafruit - MIT license /*****************************************************************************/ -SPI spi(p16, p15, p13); // mosi, miso, sclk +SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK); // mosi, miso, sclk // Constructor for use with hardware SPI (specific clock/data pins): /*Adafruit_WS2801::Adafruit_WS2801(uint16_t n, uint8_t order): clkpin(PTD4), datapin(PTA12)