... 4999986Hz :-)
It is pretty much all in C - I used a custom interrupt for the timer1 overflow - to reduce the overhead (overflows is defined in supplementary code) - needed to create a dummy macro to keep FC happy (dummy - is never called)
The 1s (d3) interrupt uses the standard FC setup - but most ...
Search found 99 matches: supplementary
Searched query: supplementary
- Tue May 19, 2026 11:04 am
- Forum: General
- Topic: Freq meter err (FC11,Nano)
- Replies: 21
- Views: 2596
- Mon May 18, 2026 9:57 pm
- Forum: Projects - Embedded
- Topic: Word lists - compression
- Replies: 0
- Views: 1411
Word lists - compression
... I mark the end of the data by having a 'duplicate' prefix length if 7 (0b111)
On an esp32 - memory isn't a problem - I put the data array into supplementary code (on smaller MCUs it would probably be necessary to save as an array in flash memory - and use a smaller word list)
The encoder outputs to ...
On an esp32 - memory isn't a problem - I put the data array into supplementary code (on smaller MCUs it would probably be necessary to save as an array in flash memory - and use a smaller word list)
The encoder outputs to ...
- Mon May 18, 2026 9:36 pm
- Forum: Bug Reports
- Topic: Embed file - restrictions on file size
- Replies: 0
- Views: 1482
Embed file - restrictions on file size
... the file specified (or clicks 'refresh'?)
There also seems to be a limit on the LUT size of about 4600 bytes - and these are laid out in a more logical manner (multiple rows)
I worked around by generating the C source and adding to supplementary code - although a #include might be neater?
Martin
There also seems to be a limit on the LUT size of about 4600 bytes - and these are laid out in a more logical manner (multiple rows)
I worked around by generating the C source and adding to supplementary code - although a #include might be neater?
Martin
- Tue Apr 21, 2026 9:54 pm
- Forum: General
- Topic: FREERtos on FlowCode Library for RPi Pico
- Replies: 3
- Views: 1882
Re: FREERtos on FlowCode Library for RPi Pico
... If the Pico is running FreeRTOS as the 'OS' - would it be possible to use FreeRTOS functions - such as xTaskCreate - in FC (using C blocks / supplementary code) as on the esp32?
There are several examples for the esp32 on the forums - using such features as tasks / queues etc - and it might be ...
There are several examples for the esp32 on the forums - using such features as tasks / queues etc - and it might be ...
- Wed Apr 01, 2026 12:02 pm
- Forum: General
- Topic: ESP32 UART-USB Brige How to use
- Replies: 50
- Views: 32938
Re: ESP32 UART-USB Brige How to use
I commented out a couple of the #includes in supplementary code - you'll probably need to re-enable....
- Mon Mar 30, 2026 11:06 am
- Forum: General
- Topic: ESP32 UART-USB Brige How to use
- Replies: 50
- Views: 32938
Re: ESP32 UART-USB Brige How to use
... you can use the C to initialise - rename (app_main) initialise (or some such) and add a function definition to the 'includes' (top) box of supplementary code... ( void initialise(void); ) Remove the loop (and the 'hello world'?) from the end of the function...
Then call initialise(); from a C ...
Then call initialise(); from a C ...
- Tue Feb 17, 2026 2:33 pm
- Forum: Projects - Embedded
- Topic: using personnal arduino library insite flowcode
- Replies: 4
- Views: 3031
Re: using personnal arduino library insite flowcode
... component for you.
Using an Arduino library directly in Flowcode at the moment without some form of conversion is likely to fail due to C / C++ incompatibilities. An AI agent would be very good at turning an Arduino C++ library into pure C code you can include from the supplementary code window.
Using an Arduino library directly in Flowcode at the moment without some form of conversion is likely to fail due to C / C++ incompatibilities. An AI agent would be very good at turning an Arduino C++ library into pure C code you can include from the supplementary code window.
- Tue Feb 17, 2026 9:18 am
- Forum: Projects - Embedded
- Topic: using personnal arduino library insite flowcode
- Replies: 4
- Views: 3031
Re: using personnal arduino library insite flowcode
Further to @chipfryer27's suggestion, there is more info about the Supplementary Code feature in the wiki and there are many posts on the forum that discuss it too. For example, see here:
https://www.flowcode.co.uk/forums/viewtopic.php?t=3359
https://www.flowcode.co.uk/forums/viewtopic.php?t=3359
- Mon Feb 16, 2026 6:07 pm
- Forum: Projects - Embedded
- Topic: using personnal arduino library insite flowcode
- Replies: 4
- Views: 3031
Re: using personnal arduino library insite flowcode
Hi
In Project Options, within the Other Options section you have a checkbox to Use Supplementary Code. If you tick tihis you can then specify a library to include.
Regards
In Project Options, within the Other Options section you have a checkbox to Use Supplementary Code. If you tick tihis you can then specify a library to include.
Regards
- Wed Jan 21, 2026 9:40 am
- Forum: User Components
- Topic: FC components and AI (ideas?)
- Replies: 20
- Views: 28639
Re: FC components and AI (ideas?)
External code can be included in Supplementary Code. See: https://www.flowcode.co.uk/wiki/index.php?title=Supplementary_Code
Instead of adding the code directly to Flowcode, add statements into Supplementary Code such as the following to point it at external files:
#include "C:\MyFolder\MyCode.h ...
Instead of adding the code directly to Flowcode, add statements into Supplementary Code such as the following to point it at external files:
#include "C:\MyFolder\MyCode.h ...