Jump to content

RedBearLab CC3200 WiFi Mini support for Neopixel WS2812 / WS2811 ?

Recommended Posts

i tried without luck all the WS2812 / WS2811 related libraries shown at http://energia.nu/reference/libraries/

they all seem to address different mcu types (?)


like https://github.com/ILAMtitan/WS2811Driver complains:

0: fatal error: msp430.h: No such file or directory
 #include <msp430.h>
compilation terminated.


and the adafruit neopixel lib for arduino:

simple.cpp:5:23: fatal error: avr/power.h: No such file or directory
 #include <avr/power.h>
compilation terminated.


actually i need to address only one single WS2812 led. 

could please point me to the right lib/solution if it already exists ?


thanks a lot

Link to post
Share on other sites

Hi @@xibot,


The WS2811 and WS2812 have very specific timing requirements. The MSP430 (I've had success with the G2xxx and F5529) and Arduino libraries have sections coded in Assembly language to meet these timing requirements and as such won't work on other microcontrollers.  Perhaps someone has made the effort to implement it on the CC3200 but I haven't seen it.


There is a newer RGB LED with integrated driver that uses standard SPI  (APA102) which should be easy to use with any microcontroller.  For example, see this at Adafruit.

Link to post
Share on other sites
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...