Simulation of 2 flc9 projects at the same time with a single code execution.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
solozerouno
Posts: 113
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 4:36 am
Has thanked: 2 times
Been thanked: 2 times

Simulation of 2 flc9 projects at the same time with a single code execution.

Post by solozerouno »

I happened to have to design a circuit provided by a Mega 2560 and a Uno connected by a uart, the mega transmits the Uno receives. I programmed both micro independently and then I tried in "hardware" mode but I would need to be able to debug with flc9 before compiling and test the software in order to see if for example the Mega transmits in the right way and at the right times and on the other the One that receives the data sent by the Mega and then processes them .....
thanks
solozerouno

BenR
Matrix Staff
Posts: 1727
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 438 times
Been thanked: 602 times

Re: Simulation of 2 flc9 projects at the same time with a single code execution.

Post by BenR »

Hello,

I'll see if I can create a demo for you.

BenR
Matrix Staff
Posts: 1727
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 438 times
Been thanked: 602 times

Re: Simulation of 2 flc9 projects at the same time with a single code execution.

Post by BenR »

Hello,

Sorry it took a while, on creating the example I discovered a few new bugs that had cropped up with the vnet component due to recent API changes.

Should all be fixed now via the library updates.

Here is the example.
Mega_Uart_Vnet1.fcfx
(11.56 KiB) Downloaded 99 times
Mega_Uart_Vnet2.fcfx
(11.46 KiB) Downloaded 102 times
Please let me know if you have any problems.

Post Reply