chipKIT® Development Platform

Inspired by Arduino™

wifire and Picxel library

Created Wed, 18 Nov 2015 13:31:43 +0000 by cerver


cerver

Wed, 18 Nov 2015 13:31:43 +0000

I have installed the picxel library and it does not look to be acting right. i have a 50 string led array that works fine on arduino using a ws2811 chip. when i run the simple demo it is not sending the commands correct. the light change but not as expected. they do not cycle through correct and colors jump alot. i think its a timing issue on the control pin.


tom21091

Tue, 19 Jan 2016 22:09:55 +0000

Hi cerver,

Sorry it's taken so long to respond. I'm pretty sure the Picxel library was written for all the other 80Mhz chipKIT devices, so it makes sense that the 200MHz clock on the WiFire could be causing problems. The library uses "nop"s to generate timing. Theoretically, you could add more nops (2.5 times the current number of nops) to the PICxel.h file to make the timing work, but this might still be buggy. You could also try this other library that I think was build for the WiFire [url]https://github.com/ricklon/ckWS2812/archive/master.zip[/url]. I haven't used it, so I don't know how well it'll work. Let me know if you found another solution or have more problems.

Good luck!

Tommy