Jump to content
Sign in to follow this  
xibot

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

Share this post


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.

Share this post


Link to post
Share on other sites

I have managed to get my msp430 to generate the proper sequence for the WS2812B, but am having difficulties getting my quickly assembled test circuit to work. My questions, Is there an easy way to determine whether a LED is defective? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×