adding resources firmware and 1/0/8
Dependencies: Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib
Fork of LWM2M_NanoService_Ethernet by
resources/rgb.h@20:84ee332ba360, 2014-04-08 (annotated)
- Committer:
- sstark
- Date:
- Tue Apr 08 01:02:06 2014 +0000
- Revision:
- 20:84ee332ba360
- Parent:
- 17:40ce3d963495
Properly use the RGB_LED define to exclude the creation of the RGB resource, and encapsulate the RGB PwmOut object in an RBG class to avoid having the pins activated when they were initialized statically.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sstark | 17:40ce3d963495 | 1 | // RGB LED resource implementation |
sstark | 17:40ce3d963495 | 2 | |
sstark | 17:40ce3d963495 | 3 | #ifndef RGB_H |
sstark | 17:40ce3d963495 | 4 | #define RGB_H |
sstark | 17:40ce3d963495 | 5 | |
sstark | 17:40ce3d963495 | 6 | #include "nsdl_support.h" |
sstark | 17:40ce3d963495 | 7 | |
sstark | 17:40ce3d963495 | 8 | int create_rgb_resource(sn_nsdl_resource_info_s *resource_ptr); |
sstark | 20:84ee332ba360 | 9 | void zero_rgb(); |
sstark | 17:40ce3d963495 | 10 | |
sstark | 17:40ce3d963495 | 11 | #endif |