Search found 870 matches

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

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: 842

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: 842

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: 842

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: 842

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: 170

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: 206

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
by mnfisher
Fri Mar 22, 2024 10:48 am
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 157

Re: Lookup table resizing.

Ok - I'll replace the spaces with commas - odd that it works for the original data block - which also uses spaces....
by mnfisher
Fri Mar 22, 2024 5:42 am
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 157

Re: Lookup table resizing.

Yes - a table of 8 bit values.
Not sure if size is limited but the initial size shows correctly and in simulation (which is all that is needed here) seems to work correctly (although I didn't single step through it all - and the simulation locked when I altered the rate slider)

Martin
by mnfisher
Thu Mar 21, 2024 9:16 pm
Forum: Bug Reports
Topic: Lookup table resizing.
Replies: 4
Views: 157

Lookup table resizing.

I hit a small issue resizing a lookup table (in an Arduino sketch - though this might not be relevant) I created an 8 bit lookup table and pasted in 4637 values - this was correctly reflected in the num values field. However - to create a simpler 'demo' version of my program I then replaced these va...