Page 1 of 1

App developer with Arduino UNO

Posted: Tue Apr 05, 2022 6:09 pm
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 1582 times

Re: App developer with Arduino UNO

Posted: Tue Apr 05, 2022 9:00 pm
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.

Re: App developer with Arduino UNO

Posted: Thu Apr 07, 2022 7:57 pm
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 1542 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 1542 times
Best regards

Bruno