Can I integrate an Arduino sketch into Flowcode?

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times

Can I integrate an Arduino sketch into Flowcode?

Post by MJU »

I have the C-code simulation component and pasted a piece of an Arduino library into it.
When I compile it, it doesn't generate errors.

Does it mean that I can use this library in Flowcode?
Maybe I'm missing something, but I was wondering... :-)

I got this library: "RadioHead" from https://learn.adafruit.com/adafruit-rfm ... rfm9x-test
and my hope was to use it in Flowcode.

Or don't I get the purpose of the C-code. Or is the library not standard C-code?

If I can use it, what steps do I need to do to use especially this library in Flowcode?

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: Can I integrate an Arduino sketch into Flowcode?

Post by LeighM »

Hi,
Using Arduino libraries within Flowcode is extremely tricky for a number of reasons,
not least that the code is C++, interfaces use structures, rely upon Arduino port settings, and libs are generally dependent upon other libs
So the best advice at present is to take a look at the Arduino code, see what it does, and try to replicate that in Flowcode icons.
Leigh

Post Reply