Page 1 of 1

Arduino mega 2560 r3 Basic IO issues FC10

Posted: Thu Apr 20, 2023 10:17 am
by nmjb18
Hi All,

I'm hoping someone can tell me where I am going wrong. I am new to FC10 and the app developer. I followed BenR's video (https://youtu.be/lbdwncwCtOE) for a simple LED switching interface and instead of the Arduino Uno I used a Arduino Mega 2560 r3. I initially used digital pin 13 (the onboard LED) to confirm the apps function; it didn't. I tried other digital pins and same negative result. I slimmed down the program to just two commands, the API initialise and the IO set output pin. This also did not produce an output on any pin, regardless of 'state' value. The Rx led flashes during execution of the App to confirm comms, and now I am stuck! Any help would be much appreciated. I have included a copy of my simple app, and this is where I downloaded the source code for the mega firmware: https://www.flowcode.co.uk/wiki/index.p ... e_Devices)

Cheers,

Matt

Re: Arduino mega 2560 r3 Basic IO issues FC10

Posted: Thu Apr 20, 2023 5:11 pm
by BenR
Hello,

It looks like the firmware was missing from the Mega wiki page, I've added it now in the detailed description section and I'll get it on a Mega and just double check everything is ok.

https://www.flowcode.co.uk/wiki/index.p ... escription


edit. Yes your program is confirmed working with the Mega firmware.

Re: Arduino mega 2560 r3 Basic IO issues FC10

Posted: Thu Apr 20, 2023 5:23 pm
by nmjb18
Hi,

Thank you. I can confirm it's now working. Much appreciated.

Matt