Hello,
is it possible to integrate my arduino libraries into my arduino flowcode project or to create a component out of my arduino library?
I want to integrate the ds1307 library into flowcode for example, if yes, can someone explain me how to do that?
I read this article http://matrixmultimedia.com/blog/?p=146, but i dont know how to turn complex libraries into my project.
I would be happy to get some help.
Arduino/C Library Integration
Moderator: Benj
-
- Posts: 10
- Joined: Wed Oct 16, 2013 1:55 am
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Arduino/C Library Integration
Hello,
Do you know what format the Arduino libraries are in as I've never really used their software?
If they are in native C then shouldn't be an issue. If they are precompiled then might be more tricky but still probably do-able by editing the link script.
Either way yes you should be able to create components to wrap around the existing libraries. Only issue will be that the components will only work for AVR or maybe only Arduino based targets.
Do you know what format the Arduino libraries are in as I've never really used their software?
If they are in native C then shouldn't be an issue. If they are precompiled then might be more tricky but still probably do-able by editing the link script.
Either way yes you should be able to create components to wrap around the existing libraries. Only issue will be that the components will only work for AVR or maybe only Arduino based targets.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Arduino/C Library Integration
Hi.
There is a blog post here: http://matrixmultimedia.com/blog/?p=146
This details how to get an existing C routine 9or library call) defined in a Flowcode component. This wouldprobably be the start of this,if you have a header file with the routines you want in it.
Jonny
There is a blog post here: http://matrixmultimedia.com/blog/?p=146
This details how to get an existing C routine 9or library call) defined in a Flowcode component. This wouldprobably be the start of this,if you have a header file with the routines you want in it.
Jonny