LeeT WiFiLamp code and test
Dependencies: ESP8266_WebServer mbed
Fork of WiFiLamp by
Diff: PololuLedStrip/PololuLedStrip.h
- Revision:
- 8:f819de1946a7
- Parent:
- 3:34cd0bb34971
--- a/PololuLedStrip/PololuLedStrip.h Thu Dec 18 16:06:10 2014 +0000 +++ b/PololuLedStrip/PololuLedStrip.h Fri Dec 19 09:08:56 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 -#if defined(STM32F10X_MD) || defined(STM32L152xE) +#if defined(STM32F10X_MD) || defined(STM32L152xE) || defined(STM32F030x8) extern "C" int led_strip_write_color(rgb_color *, volatile uint32_t * set, volatile uint32_t * clear, uint32_t mask); #endif -#if defined(STM32F401xE) +#if defined(STM32F401xE) || defined(STM32F302x8) extern "C" int led_strip_write_color(rgb_color *, volatile uint16_t * set, volatile uint16_t * clear, uint32_t mask); #endif