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
Converting a program from Arduino to Flowcode
-
- Posts: 101
- Joined: Tue Sep 01, 2015 9:37 pm
- Been thanked: 14 times
- Contact:
Converting a program from Arduino to Flowcode
Last edited by kennethnilsen69 on Fri Aug 26, 2022 11:23 am, edited 1 time in total.
-
- 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
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
― C.S. Lewis
-
- Posts: 101
- Joined: Tue Sep 01, 2015 9:37 pm
- Been thanked: 14 times
- Contact:
Re: Converting a program from Arduino to Flowcoe
Here is the arduino program that I want converted
- Attachments
-
- OrionVirtualBMS.zip
- (11.16 KiB) Downloaded 109 times
-
- Posts: 101
- Joined: Tue Sep 01, 2015 9:37 pm
- Been thanked: 14 times
- Contact:
Re: Converting a program from Arduino to Flowcode
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?
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?