include libraries from Arduino?

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

Moderator: Benj

Post Reply
dds.m.blal
Posts: 7
Joined: Sat Mar 05, 2011 11:10 pm
Contact:

include libraries from Arduino?

Post by dds.m.blal »

Hallo everyone 🤗
Can I include libraries from Arduino?
Loke this
https://github.com/PaulStoffregen/TimerOne

chipfryer27
Valued Contributor
Valued Contributor
Posts: 662
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 184 times
Been thanked: 203 times
Contact:

Re: include libraries from Arduino?

Post by chipfryer27 »

Hi

Libraries can indeed be included although I've only done so with a Pico. Once you have downloaded your library(s)

In Project Options tick the box "Use Supplementary Code" then click on "Supplementary Code"

In "Definitions and function declarations" add the path to your library(s).

You will need to use C-Code icons to refer to whatever functionality your library(s) provides, but I'm probably not the best to advise on using "C" :)

Regards

viktor_au
Posts: 342
Joined: Fri Jan 26, 2018 12:30 pm
Location: South Australia
Has thanked: 44 times
Been thanked: 60 times
Contact:

Re: include libraries from Arduino?

Post by viktor_au »

I can only suggest to study the library, change it and include it as Flowcode macro.
Yes, it takes time, however you can cut down a lot of code.
If you study a datasheet you can use the library as a reference point to create one or more macros in FC8.
Please take it as a suggestion.

Post Reply