App developer with Arduino UNO

Discuss PC Developer and Web Developer projects and features here.
Post Reply
Sundgau
Posts: 7
http://meble-kuchenne.info.pl
Joined: Sat Dec 12, 2020 5:37 am

App developer with Arduino UNO

Post by Sundgau »

Hello,

I have a problem app developper for arduino uno (SimpleArduinoUnoDemo.fcsx) for the control of inputs / outputs. The example of the control of the led 13 does not work with flowcode but works with a terminal; the firmware (Arduino Uno API Firmware.fcfx) flashed in the uno board is thus, as for him, well functional.
It seems that the data "0x00" is not correctly sent to extend the led. On the other hand the card receives the data "0x01" to turn it on.

Best regards

Bruno
Screen Shot 04-05-22 at 02.12 PM.PNG
Screen Shot 04-05-22 at 02.12 PM.PNG (80.37 KiB) Viewed 1532 times

medelec35
Matrix Staff
Posts: 1432
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 506 times
Been thanked: 468 times

Re: App developer with Arduino UNO

Post by medelec35 »

Hello.
Thank you for the spot.
Can you try with the attached firmware and see if it works for you?
If not I can help further.
I ave also attached a demo App dev file.
Attachments
SimpleArduinoUnoDemo.fcsx
(8.44 KiB) Downloaded 110 times
Arduino Uno API Firmware.fcfx
(107.88 KiB) Downloaded 107 times
Martin

Sundgau
Posts: 7
Joined: Sat Dec 12, 2020 5:37 am

Re: App developer with Arduino UNO

Post by Sundgau »

Hello, I just tested your example file and it works: great (without changing the firmware in the arduino since it worked with an external terminal) . Then I test the previous version of the example file and it works too!!! I don't understand! In any case in the window "UART -COMPort1", we do not see the sending of the code '00' between the two codes 0D and 3B for the two example files
Screen Shot 04-07-22 at 08.43 PM.PNG
Screen Shot 04-07-22 at 08.43 PM.PNG (10.94 KiB) Viewed 1492 times
and now for your file, it appears an error message in the window "Arduino API"...
Screen Shot 04-07-22 at 08.52 PM.PNG
Screen Shot 04-07-22 at 08.52 PM.PNG (11.13 KiB) Viewed 1492 times
Best regards

Bruno

Post Reply