Page 1 of 1

Can I integrate an Arduino sketch into Flowcode?

Posted: Fri Dec 28, 2018 11:05 pm
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?

Re: Can I integrate an Arduino sketch into Flowcode?

Posted: Thu Jan 03, 2019 11:11 am
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