LeeT WiFiLamp code and test
Dependencies: ESP8266_WebServer mbed
Fork of WiFiLamp by
Diff: PololuLedStrip/PololuLedStrip.h
- Revision:
- 3:34cd0bb34971
- Parent:
- 2:48412ab84b71
- Child:
- 8:f819de1946a7
diff -r 48412ab84b71 -r 34cd0bb34971 PololuLedStrip/PololuLedStrip.h --- a/PololuLedStrip/PololuLedStrip.h Mon Dec 01 08:29:02 2014 +0000 +++ b/PololuLedStrip/PololuLedStrip.h Mon Dec 01 08:46:33 2014 +0000 @@ -16,10 +16,10 @@ uint8_t blue; /*!< A number between 0 and 255 that represents the brightness of the blue component. */ } rgb_color; #endif -#ifdef STM32F10X_MD +#if defined(STM32F10X_MD) || defined(STM32L152xE) extern "C" int led_strip_write_color(rgb_color *, volatile uint32_t * set, volatile uint32_t * clear, uint32_t mask); #endif -#ifdef STM32F401xE +#if defined(STM32F401xE) extern "C" int led_strip_write_color(rgb_color *, volatile uint16_t * set, volatile uint16_t * clear, uint32_t mask); #endif