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 ws2801 by
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
Generated on Sun Jul 24 2022 02:33:02 by
1.7.2
