xibot 0 Posted December 4, 2015 Share Posted December 4, 2015 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 Quote Link to post Share on other sites
Fmilburn 446 Posted December 4, 2015 Share Posted December 4, 2015 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. Quote Link to post Share on other sites
josh38 0 Posted March 13, 2016 Share Posted March 13, 2016 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? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.