Arduino mega 2560 r3 Basic IO issues FC10
Posted: Thu Apr 20, 2023 10:17 am
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
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