Arduino mega 2560 r3 Basic IO issues FC10

Discuss PC Developer and Web Developer projects and features here.
Post Reply
nmjb18
Posts: 15
http://meble-kuchenne.info.pl
Joined: Mon Apr 19, 2021 4:47 pm
Has thanked: 9 times
Been thanked: 1 time

Arduino mega 2560 r3 Basic IO issues FC10

Post 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
Attachments
app 1.fcsx
(8.65 KiB) Downloaded 147 times

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: Arduino mega 2560 r3 Basic IO issues FC10

Post 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.

nmjb18
Posts: 15
Joined: Mon Apr 19, 2021 4:47 pm
Has thanked: 9 times
Been thanked: 1 time

Re: Arduino mega 2560 r3 Basic IO issues FC10

Post by nmjb18 »

Hi,

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

Matt

Post Reply