can you help, I am trying to get the WS2812b module working, however all that seems to happen is all the LED turn on full blast.
CPU is the ECIO40P16
code 8.2.0.12
LED's is the WS2812b 98 of them in a 1D strip (just addressing the first 9 for now)
I am using a 3.3v to 5v converter.
when I look at the output on a scope all I get is a saw tooth signal (assuming the scope is working)
the attached is a simple program all green LEDs on for 1 second then all off for a second. I have added a normal LED just to inform me its looping ok.
so can you help I think is a clock issues (I can't change it under the options) not sure what to do now.
Thanks...
WS2812
Moderator: Benj
-
- Posts: 10
- Joined: Thu Sep 03, 2015 12:59 pm
- Been thanked: 3 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: WS2812
Hello,
Try lowering the timings slightly. I have these working really well here so I'll dig out my timing settings for you.
Try lowering the timings slightly. I have these working really well here so I'll dig out my timing settings for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Thu Sep 03, 2015 12:59 pm
- Been thanked: 3 times
- Contact:
Re: WS2812
HI BenJ, I am using the standard setting, but if you have a custom settings which work, that would be great
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: WS2812
Hello,
Right give these settings a go and let me know how you get on.
I've made a note to try and fix the default settings for the 16-bit PIC devices.
Right give these settings a go and let me know how you get on.
I've made a note to try and fix the default settings for the 16-bit PIC devices.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Thu Sep 03, 2015 12:59 pm
- Been thanked: 3 times
- Contact: