This is FlexLEDTapeLibrary
Fork of ws2801 by
a101.h
- Committer:
- hototogisu
- Date:
- 2012-12-28
- Revision:
- 8:28d3f6703e22
File content as of revision 8:28d3f6703e22:
#ifndef A101_H #define A101_H #define RESET_DERAY 2500 #include "mbed.h" class a101 { private: DigitalOut _CKI; DigitalOut _SDI; int _ledLength; int _tapeLength; public: a101(PinName CKI, PinName SDI, int ledLength = 24, int tapeLength = 1); void post(int *strip_colors); private: void padding1(); void padding0(); void operate(); void clear(); }; #endif