|
MHVLib
20111227
An efficiency oriented runtime library for AVR microcontrollers
|
Go to the source code of this file.
Classes | |
| class | MHV_WS2801 |
Defines | |
| #define | MHV_RGB_ORDER 5 |
| #define | MHV_SHIFT_WRITECLOCK |
| #define | MHV_SHIFT_WRITEDATA |
| #define | MHV_WS2801_CREATE(__mhvObjectName, __mhvLength) |
| #define MHV_RGB_ORDER 5 |
Definition at line 30 of file MHV_WS2801.h.
| #define MHV_SHIFT_WRITECLOCK |
Definition at line 36 of file MHV_WS2801.h.
| #define MHV_SHIFT_WRITEDATA |
Definition at line 37 of file MHV_WS2801.h.
| #define MHV_WS2801_CREATE | ( | __mhvObjectName, | |
| __mhvLength | |||
| ) |
MHV_RGB __mhvObjectName ## _Buffer[__mhvLength]; \ MHV_SHIFTER_CLOCKED_RISING_CREATE(__mhvObjectName ## _Shifter); \ MHV_WS2801 __mhvObjectName(__mhvObjectName ## _Buffer, __mhvLength, __mhvObjectName ## _Shifter);
Create a new WS2801 object to control a string of LED drivers The MHV_SHIFT_WRITECLOCK & MHV_SHIFT_WRITEDATA macros should be defined in advance
| __mhvObjectName | the variable name of the object |
| __mhvLength | the number of chips in the string |
Definition at line 48 of file MHV_WS2801.h.