Page 1 of 1

using personnal arduino library insite flowcode

Posted: Mon Feb 16, 2026 5:13 pm
by rowentaRT
hi,

Would it be possible to include some personnal arduino library inside a embedded project ?

Hadrien

Re: using personnal arduino library insite flowcode

Posted: Mon Feb 16, 2026 6:07 pm
by chipfryer27
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

Re: using personnal arduino library insite flowcode

Posted: Tue Feb 17, 2026 9:18 am
by Steve-Matrix
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

Re: using personnal arduino library insite flowcode

Posted: Tue Feb 17, 2026 12:53 pm
by rowentaRT
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.

Re: using personnal arduino library insite flowcode

Posted: Tue Feb 17, 2026 2:33 pm
by BenR
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.