I am trying to design a PCB using the WS2811 library because SK6812 is difficult to program. However, the WS2811 library does not compile. The program used examples from Wiki Help.
Sends a compiler error message.
Thank you.
PS.
Is there any plan to support library for SK6812-RGBW?
WS2812B, PIC18F47Q10 not work error!(Solved)
-
- Posts: 217
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 6 times
- Been thanked: 7 times
WS2812B, PIC18F47Q10 not work error!(Solved)
- Attachments
-
- WS2811.fcfx
- (8.65 KiB) Downloaded 566 times
-
- K-002.png (142.85 KiB) Viewed 5091 times
Last edited by seokgi on Thu Jun 10, 2021 8:06 am, edited 3 times in total.
-
- Matrix Staff
- Posts: 1952
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 510 times
- Been thanked: 698 times
Re: WS2811, PIC18F47Q10 Compile error!
Hello,
Many thanks for letting us know, I have now fixed the compilation error.
As for the SK6812, this looks like it should be compatible with the current WS2811 component. It would just be a case of using the custom mode and getting the timings right.
Many thanks for letting us know, I have now fixed the compilation error.
As for the SK6812, this looks like it should be compatible with the current WS2811 component. It would just be a case of using the custom mode and getting the timings right.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: WS2811, PIC18F47Q10 Compile error!
Thank you for your help.
Compile works fine. However, the example program does not work. We will send you the oscilloscope screen for your reference.
I tested the external crystal and internal oscillator on PIC18F26K22, and PIC18F47Q10.
I used WS2812B.
I think the timing isn't right.
Help.
Thank you.
Compile works fine. However, the example program does not work. We will send you the oscilloscope screen for your reference.
I tested the external crystal and internal oscillator on PIC18F26K22, and PIC18F47Q10.
I used WS2812B.
I think the timing isn't right.
Help.
Thank you.
- Attachments
-
- K-004.png (136.07 KiB) Viewed 5055 times
-
- AnimLightStrip2 (1).fcfx
- (12.63 KiB) Downloaded 468 times
Re: WS2812B, PIC18F47Q10 not work error!(Solved)
I use WS2812b.
I solved it by correcting the time in Custom in the library.
I upload the program I solved.
Be sure to check the timing using an oscilloscope.
SK6812 seems to be difficult for 8-bit PIC. It seems possible on a 16-bit PIC with a higher clock speed.
Thank you.
I solved it by correcting the time in Custom in the library.
I upload the program I solved.
Be sure to check the timing using an oscilloscope.
SK6812 seems to be difficult for 8-bit PIC. It seems possible on a 16-bit PIC with a higher clock speed.
Thank you.
- Attachments
-
- WS2812B_PIC18F47Q10.fcfx
- (19.26 KiB) Downloaded 609 times