Hallo everyone
Can I include libraries from Arduino?
Loke this
https://github.com/PaulStoffregen/TimerOne
include libraries from Arduino?
Moderator: Benj
-
- Valued Contributor
- Posts: 773
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 185 times
- Been thanked: 204 times
Re: include libraries from Arduino?
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
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
-
- Posts: 343
- 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?
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.
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.