Converting a program from Arduino to Flowcode

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Locked
kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

Converting a program from Arduino to Flowcode

Post by kennethnilsen69 »

Hi, I have an Arduino program that I need to convert to Flowcode, but my knowledge of the Arduino platform is not good enough for this. Is there anyone out there who wants to take this job. I would be happy to pay you for this :-)


Please send me a PM or an email to kennethnilsen69@gmail.com if you are interested
Last edited by kennethnilsen69 on Fri Aug 26, 2022 11:23 am, edited 1 time in total.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Converting a program from Arduino to Flowcoe

Post by kersing »

It helps if you specify how large the program is and whether it uses libraries for hardware which might not be supported for by Flowcode.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

Re: Converting a program from Arduino to Flowcoe

Post by kennethnilsen69 »

Here is the arduino program that I want converted
Attachments
OrionVirtualBMS.zip
(11.16 KiB) Downloaded 106 times

kennethnilsen69
Posts: 101
Joined: Tue Sep 01, 2015 9:37 pm
Been thanked: 14 times
Contact:

Re: Converting a program from Arduino to Flowcode

Post by kennethnilsen69 »

I am trying to use this byte line in FC's C-Code box
byte id155_init[8] = { 0xFF, 0x97, 0xD0, 0x94, 0x00, 0x08, 0x00, 0x6F };

I create an id155_init variable and write the line like this in the C-Code box:
FCV_id155_init[8] = { 0xFF, 0x97, 0xD0, 0x94, 0x00, 0x08, 0x00, 0x6F };


I get this error when I compile it
OrionBMS_CAN Translator.c:5575:2: error: 'FCV_id155_init' undeclared (first use in this function)
OrionBMS_CAN Translator.c:5575:2: note: each undeclared identifier is reported only once for each function it appears in
OrionBMS_CAN Translator.c:5575:22: error: expected expression before '{' token
OrionBMS_CAN Translator.c:5605:2: warning: 'return' with a value, in function returning void

Error returned from [xc16-gcc.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 0x1

Does anyone have any suggestions on how I can achieve this?

mnf
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: Converting a program from Arduino to Flowcode

Post by mnf »

Answered in the Flow code forum...

Locked