This is FlexLEDTapeLibrary

Dependents:   LedVerTcpIp

Fork of ws2801 by Thomas Olsson

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers a101.h Source File

a101.h

00001 #ifndef A101_H
00002 #define A101_H
00003 
00004 #define RESET_DERAY 2500
00005 
00006 #include "mbed.h"
00007 
00008 class a101 {
00009 
00010 private:
00011     DigitalOut _CKI;
00012     DigitalOut _SDI;
00013     int _ledLength;
00014     int _tapeLength;
00015 
00016 public:
00017     a101(PinName CKI, PinName SDI, int ledLength = 24, int tapeLength = 1);
00018     void post(int *strip_colors);
00019 
00020 private:
00021     void padding1();
00022     void padding0();
00023     void operate();
00024     void clear();
00025 };
00026 
00027 #endif
00028