Page 1 of 1

Converting a program from Arduino to Flowcode

Posted: Fri Aug 26, 2022 8:33 am
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

Re: Converting a program from Arduino to Flowcoe

Posted: Fri Aug 26, 2022 8:36 am
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.

Re: Converting a program from Arduino to Flowcoe

Posted: Fri Aug 26, 2022 8:54 am
by kennethnilsen69
Here is the arduino program that I want converted

Re: Converting a program from Arduino to Flowcode

Posted: Wed Sep 14, 2022 1:35 am
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?

Re: Converting a program from Arduino to Flowcode

Posted: Wed Sep 14, 2022 8:11 am
by mnf
Answered in the Flow code forum...