Hi,
My students have created a small LED project (8 LEDs) and wanted them to blink in sequence and displaying their circuit on the hardware.
They managed to simulate it on the software but could not get the software to communicate it to the hardware. It was suggesting to install some other features (AVR arduino/toolchain) which they did. However, they still could not display anything on the hardware. They have then copied the C code from flowcode and pasted it into the Arduino software and got it to communicate with the hardware. Is this supposed to happen? (my students are working through Introduction to microcontroller programming booklet).
Kind regards,
Bachir
Flowcode not communicating with Hardware
-
- Posts: 3
- http://meble-kuchenne.info.pl
- Joined: Tue Nov 23, 2021 9:35 am
-
- Matrix Staff
- Posts: 1265
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 279 times
Re: Flowcode not communicating with Hardware
Under the build menu of Flowcode, use the "compile to target" command. This will compile the project and send it to the target board. If there are any problems during this procedure, they will be displayed in the output text, which is also stored to a file with the suffix ".msg.txt". If you post one of these files it should help trace the error.
Also, we may need more info such as what hardware are you using?
Also, we may need more info such as what hardware are you using?
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 times
Re: Flowcode not communicating with Hardware
As it looks like you could be using an Arduino.
Also under the build menu is Project Options.
From that, you will need to select the correct com port for the Ardunio from the Programmer Port dropdown.
It should not be left on n/a
Also under the build menu is Project Options.
From that, you will need to select the correct com port for the Ardunio from the Programmer Port dropdown.
It should not be left on n/a
Martin
Re: Flowcode not communicating with Hardware
Thank you for help and prompt response.
I had some issues with my logging details and hence my late reply.
My students have tried compile to target option but it did not work.
I will try it again whenever possible and will let you know about the outcome of that.
Thanks again,
Bachir
I had some issues with my logging details and hence my late reply.
My students have tried compile to target option but it did not work.
I will try it again whenever possible and will let you know about the outcome of that.
Thanks again,
Bachir
Re: Flowcode not communicating with Hardware
Hi,
I've tried it again and it's coming up with the same error.
Is there any possibility to attach a document in this forum so you will see the message I'm receiving?
Thanks,
Bachir
I've tried it again and it's coming up with the same error.
Is there any possibility to attach a document in this forum so you will see the message I'm receiving?
Thanks,
Bachir
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 73 times
- Been thanked: 218 times
Re: Flowcode not communicating with Hardware
As Steve mentioned ...
Which can be uploaded via the button ...If there are any problems during this procedure, they will be displayed in the output text, which is also stored to a file with the suffix ".msg.txt"