LineLedControl
Dependencies: EthernetNetIf LPD8806 mbed
Fork of OSCReceiver by
LedControl/Control.h@1:e0714e1a1568, 2013-08-26 (annotated)
- Committer:
- sfjmt
- Date:
- Mon Aug 26 17:22:36 2013 +0000
- Revision:
- 1:e0714e1a1568
line led control
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sfjmt | 1:e0714e1a1568 | 1 | #ifndef Control_h |
sfjmt | 1:e0714e1a1568 | 2 | #define Control_h |
sfjmt | 1:e0714e1a1568 | 3 | |
sfjmt | 1:e0714e1a1568 | 4 | #include "mbed.h" |
sfjmt | 1:e0714e1a1568 | 5 | #include "LPD8806.h" |
sfjmt | 1:e0714e1a1568 | 6 | |
sfjmt | 1:e0714e1a1568 | 7 | class LedControl |
sfjmt | 1:e0714e1a1568 | 8 | { |
sfjmt | 1:e0714e1a1568 | 9 | public: |
sfjmt | 1:e0714e1a1568 | 10 | |
sfjmt | 1:e0714e1a1568 | 11 | void setup(int numberOfLed); |
sfjmt | 1:e0714e1a1568 | 12 | void colorChase(int r, int g, int b, uint8_t delay); |
sfjmt | 1:e0714e1a1568 | 13 | |
sfjmt | 1:e0714e1a1568 | 14 | private: |
sfjmt | 1:e0714e1a1568 | 15 | // int num; |
sfjmt | 1:e0714e1a1568 | 16 | }; |
sfjmt | 1:e0714e1a1568 | 17 | |
sfjmt | 1:e0714e1a1568 | 18 | #endif |