After much searching online, I have yet to discover a GCBASIC "port-to-pin" map for the Arduino mega 2560.
So I made one that can be used as an include file.
It simply maps the correct port to the digital or analogue pins as numbered on an arduino PCB.
@Rikki. If it acceptable by you I would like to include in the next release. Can you repost with the header below? Then, I can use as the license is then correct.
@anobium Thanks ! I'm more than happy for this to be included in any releases. Hopefully it will help coders to use the mega 2560 more easily. That preamble you sent is now added to the top of the attached file.
That is the exact diagram I was working from. Didn't think to upload it. The analogue ports can also become digital ports, though before this diagram was published I hadn't realized that. They are not marked on the dozen or so arduino mega 2560 pcbs I own
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@Rikki, Anobium sent me the unofficial uno diagram. I found it handy.
This link is handy info for arduino boards https://www.robot-italy.com/en/blog/progetti/450
ps I guess you like mega 2560.
Last edit: stan cartwright 2018-03-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After much searching online, I have yet to discover a GCBASIC "port-to-pin" map for the Arduino mega 2560.
So I made one that can be used as an include file.
It simply maps the correct port to the digital or analogue pins as numbered on an arduino PCB.
Enjoy
Last edit: Rikki 2018-02-28
Nice piece of work.
@Rikki. If it acceptable by you I would like to include in the next release. Can you repost with the header below? Then, I can use as the license is then correct.
Nice. Anobium
@anobium Thanks ! I'm more than happy for this to be included in any releases. Hopefully it will help coders to use the mega 2560 more easily. That preamble you sent is now added to the top of the attached file.
File has been moved to the release Gold build. Item 499 in the release notes.
Thank you.
Here's an unofficial diagram of the board as well.
That is the exact diagram I was working from. Didn't think to upload it. The analogue ports can also become digital ports, though before this diagram was published I hadn't realized that. They are not marked on the dozen or so arduino mega 2560 pcbs I own
test
@Rikki, Anobium sent me the unofficial uno diagram. I found it handy.
This link is handy info for arduino boards https://www.robot-italy.com/en/blog/progetti/450
ps I guess you like mega 2560.
Last edit: stan cartwright 2018-03-07