using personnal arduino library insite flowcode

Use this section to discuss your embedded Flowcode projects.
Post Reply
rowentaRT
Posts: 4
http://meble-kuchenne.info.pl
Joined: Thu Feb 12, 2026 9:34 pm

using personnal arduino library insite flowcode

Post by rowentaRT »

hi,

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

Hadrien

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

Post 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

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

Post 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

rowentaRT
Posts: 4
Joined: Thu Feb 12, 2026 9:34 pm

Re: using personnal arduino library insite flowcode

Post 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.

BenR
Matrix Staff
Posts: 2128
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 568 times
Been thanked: 751 times

Re: using personnal arduino library insite flowcode

Post 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.

Post Reply