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
Arduino mega 2560 r3 Basic IO issues FC10
-
nmjb18
- Posts: 22
- http://meble-kuchenne.info.pl
- Joined: Mon Apr 19, 2021 4:47 pm
- Has thanked: 10 times
- Been thanked: 1 time
Arduino mega 2560 r3 Basic IO issues FC10
- Attachments
-
- app 1.fcsx
- (8.65 KiB) Downloaded 682 times
- (view online)
-
BenR
- Matrix Staff
- Posts: 2305
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 637 times
- Been thanked: 847 times
Re: Arduino mega 2560 r3 Basic IO issues FC10
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.
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.