hi,
Would it be possible to include some personnal arduino library inside a embedded project ?
Hadrien
using personnal arduino library insite flowcode
-
rowentaRT
- Posts: 4
- http://meble-kuchenne.info.pl
- Joined: Thu Feb 12, 2026 9:34 pm
-
chipfryer27
- Valued Contributor
- Posts: 1927
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 420 times
- Been thanked: 643 times
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
-
Steve-Matrix
- Matrix Staff
- Posts: 1753
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 256 times
- Been thanked: 409 times
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
Re: using personnal arduino library insite flowcode
thanks @steve-Matrix and @chipfryer. i will give it a try.
but some of my arduino libraries are not exclusively in C code but in C++.
Sometimes i also use Serial.print for debugging purposes. would it work in flow code ? mixing arduino commande such as serial.print or digitalWrite with the code generated by flowcode.
i have serious doubt that it would work. unluckily.
but some of my arduino libraries are not exclusively in C code but in C++.
Sometimes i also use Serial.print for debugging purposes. would it work in flow code ? mixing arduino commande such as serial.print or digitalWrite with the code generated by flowcode.
i have serious doubt that it would work. unluckily.
-
BenR
- Matrix Staff
- Posts: 2128
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 567 times
- Been thanked: 751 times
Re: using personnal arduino library insite flowcode
Hello,
The UART component can replace the Serial.print for you, digitalWrite can be done by using an output icon.
What Arduino library are you interested in and maybe we can convert it into a 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.
The UART component can replace the Serial.print for you, digitalWrite can be done by using an output icon.
What Arduino library are you interested in and maybe we can convert it into a 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.
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