Page 2 of 4

Re: SK6812 LED

Posted: Wed Apr 03, 2024 8:44 am
by chipfryer27
Hi

Hmmmm..... Earlier he said his chip was an ATMEGA328PB. Maybe an oversight in chip selection?

Regards

Re: SK6812 LED

Posted: Wed Apr 03, 2024 8:46 am
by ChrisT66
Ok, thank you Martin. Thought once again it would just work....

Attaching a chart doesn't help much as it's just completely empty. Only the component SK6812 was dragged into the project. Otherwise not a single command.

Re: SK6812 LED

Posted: Wed Apr 03, 2024 8:49 am
by ChrisT66
Yes, the chip is a 328PB, the 329P is selected in Flowcode. Martin included the ESP32 as a code example.

Re: SK6812 LED

Posted: Wed Apr 03, 2024 8:50 am
by ChrisT66
The only strange thing is that a few days ago everything worked without any problems.

Re: SK6812 LED

Posted: Wed Apr 03, 2024 9:41 am
by mnfisher
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\ESP\ESP_CAL_RMT.c:112:19: error: conflicting types for 'FC_CAL_RMT_TX_1'
CALFUNCTION(void, FC_CAL_RMT_TX_, (void))

Definitely trying to include the esp code?

If the target is a 328p then there is an issue with the component?

Martin

Re: SK6812 LED

Posted: Wed Apr 03, 2024 9:44 am
by chipfryer27
Hi Martin

I can compile to Hex without issue if selecting the ATMEGA328P. Without seeing his chart we can only guess...

Regards

Re: SK6812 LED

Posted: Wed Apr 03, 2024 11:26 am
by ChrisT66
Here is the empy chart...

Re: SK6812 LED

Posted: Wed Apr 03, 2024 2:42 pm
by ChrisT66
So, I'm one step further. It works again after I restarted the PC and flowcode 1-2 times. Thanks again everyone!

Now I have my old problem again. no matter what values I enter, the led always lights up maximum white.

Re: SK6812 LED

Posted: Wed Apr 03, 2024 4:12 pm
by mnfisher
You also need to call Refresh after doing the setall - to upload the data to the leds

Re: SK6812 LED

Posted: Thu Apr 04, 2024 6:19 am
by ChrisT66
Unfortunately, it makes no difference whether with or without refresh. Just the initialization command is enough and it lights up white.