Search found 873 matches

by mnfisher
Thu Apr 04, 2024 12:15 pm
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

Can you try the attached - just outputs a colour (255) to each of RG and B then repeats - note that if you don't have the RGBW variant (I don't) then setting W to 0 is okay... (Note I use D7 as the output pin - you'll need to change this to suit)
test_rgb.fcfx
(12.69 KiB) Downloaded 7 times
Martin
by mnfisher
Thu Apr 04, 2024 11:52 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

Just got an SK6812 running with an Arduino - admittedly 16MHz - using the library. The solution seems to be simpler than expected - add a small delay after the initialise (it seems that the LED takes a moment to become 'ready' after power on')
by mnfisher
Thu Apr 04, 2024 11:17 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

I have some sk6812 chips - I'll see if I can get it working in hardware for you....

Again - just to check - your board is running at 8MHz.

The alternative is a ws2812?

Martin
by mnfisher
Thu Apr 04, 2024 9:56 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

The timing might be a bit 'tight' on an 8MHz chip and hardware? A while ago I posted some code for the ATTiny85 - at85_rainbow.fcfx Where you can try 'tweaking' the timings. Note that this can be sped up by removing the 32 bit variable in Refresh and using 3 single byte 'shifts' (the AVR MCUs are 8 ...
by mnfisher
Thu Apr 04, 2024 6:53 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

Something is wrong.... I downloaded Testsk6812 from above - the MCU is set as ATMEGA328PTQFP (is this intended?) Changing the target to ATMEGA328p gives -> Pin0 of component ESP_RMT1 is connected to bit 2 of Port A but this port/bit does not exist on the new microcontroller Flowcode then closes (cra...
by mnfisher
Wed Apr 03, 2024 4:12 pm
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

You also need to call Refresh after doing the setall - to upload the data to the leds
by mnfisher
Wed Apr 03, 2024 9:41 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

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
by mnfisher
Wed Apr 03, 2024 8:37 am
Forum: General
Topic: SK6812 LED
Replies: 37
Views: 1250

Re: SK6812 LED

This is an issue with ESP32 and later versions of the RMT interface.

See the post at viewtopic.php?p=14339#p14339

For a working version - the RMT interface and to have changed dramatically...

Martin
by mnfisher
Wed Mar 27, 2024 10:31 am
Forum: General
Topic: E-Blocks 2 settings
Replies: 4
Views: 427

Re: E-Blocks 2 settings

If you post your chart - someone will surely be able to help...

Martin
by mnfisher
Tue Mar 26, 2024 12:14 pm
Forum: General
Topic: ESP32 Toolchain.
Replies: 2
Views: 464

Re: ESP32 Toolchain.

I had a bit of a play with 5.2 - but although I could compile from the command line couldn't get it to work from within FC.

So went back to 5.1.2. Which seems to work AOK..

Martin