Controls a single ShiftBrite LED
Diff: ShiftBrite.cpp
- Revision:
- 1:11ebaa7aaae9
- Parent:
- 0:5948048ae480
--- a/ShiftBrite.cpp Tue Jan 28 16:49:57 2014 +0000 +++ b/ShiftBrite.cpp Thu Jan 30 20:11:53 2014 +0000 @@ -1,8 +1,5 @@ #include "ShiftBrite.h" -//DigitalOut latch(p19); -//SPI spi(p11, p12, p13); - ShiftBrite::ShiftBrite(PinName spi1, PinName spi2, PinName spi3, PinName latch_) : spi(spi1, spi2, spi3), latch(latch_) { spi.format(16, 0);