LeeT WiFiLamp code and test
Dependencies: ESP8266_WebServer mbed
Fork of WiFiLamp by
Diff: PololuLedStrip/PololuLedStrip.h
- Revision:
- 2:48412ab84b71
- Parent:
- 1:f07afcffeb5a
- Child:
- 3:34cd0bb34971
diff -r f07afcffeb5a -r 48412ab84b71 PololuLedStrip/PololuLedStrip.h --- a/PololuLedStrip/PololuLedStrip.h Thu Nov 20 17:44:22 2014 +0000 +++ b/PololuLedStrip/PololuLedStrip.h Mon Dec 01 08:29:02 2014 +0000 @@ -16,8 +16,12 @@ uint8_t blue; /*!< A number between 0 and 255 that represents the brightness of the blue component. */ } rgb_color; #endif - +#ifdef STM32F10X_MD + extern "C" int led_strip_write_color(rgb_color *, volatile uint32_t * set, volatile uint32_t * clear, uint32_t mask); +#endif +#ifdef STM32F401xE extern "C" int led_strip_write_color(rgb_color *, volatile uint16_t * set, volatile uint16_t * clear, uint32_t mask); +#endif /** This class lets you control the addressable RGB LED strips from Pololu</a>, or any other LED strip based on the TM1804 chip. */