Hello,
Is there a way to import arduino C++ code into Flowcode 7? If yes, would be possible to compile again that code into an arduino or even PIC controller?
Thank you
Best Regards
Andreas Achilleos
Arduino code TO flowcode 7
Moderator: Benj
- 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 code TO flowcode 7
Hi Andreas,
No not currently, for the moment you have to take the Arduino code and port it into Flowcode. I have done this for a number of components.
We have thought about allowing Arduino code libraries to work but it's complicated and would probably only work on the pre-defined Arduino compatible hardware.
No not currently, for the moment you have to take the Arduino code and port it into Flowcode. I have done this for a number of components.
We have thought about allowing Arduino code libraries to work but it's complicated and would probably only work on the pre-defined Arduino compatible hardware.
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
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: Arduino code TO flowcode 7
Hello Ben,
Thanks for the reply.
what do you mean port the code into Flowcode?
Thank you
Thanks for the reply.
what do you mean port the code into Flowcode?
Thank you
- 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 code TO flowcode 7
Code porting is a term for taking a program and converting it to suit a different compiler or paradigm.what do you mean port the code into Flowcode?
So for an Arduino library I generally go through function to function creating Flowcode macros for each function.
Arduino libraries love to pass pointers around the functions as parameters and returns, these can simply become global variables to make life easier.
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
- achillis1
- Posts: 347
- Joined: Thu Oct 09, 2008 9:19 am
- Has thanked: 91 times
- Been thanked: 8 times
- Contact:
Re: Arduino code TO flowcode 7
Hello Ben,
Do you have an example of how to you port arduino code into flowcode macros; so I can get a clue how to start porting?
Thank you
Do you have an example of how to you port arduino code into flowcode macros; so I can get a clue how to start porting?
Thank you