JimWilks
Looking at the default Digital Input pins on the Mega download, I see 62, 63, 64, 65, 66, 67, 68, 69, 22, 24, etc.  However when I look at the Arduino Mega hardware pinout page, I see no pin 62 thru 69.  Can someone clarify this?
Reply 0 0
thiagoralves
Google arduino mega pinout
Reply 0 0
JimWilks
Did that.  That's exactly why I'm asking this question.  The Arduino Mega pinout does NOT include pins 62 thru 69.   However, pins 82 thru 89 are not currently used by OpenPLC.  Is this related?
Reply 0 0
thiagoralves
Are you sure about that?
IMG_0552.jpeg
Reply 0 0
JimWilks
Not sure where you got that image, but when I go to the official Arduino website I see a different definition:

Arduino Mega.jpg
Reply 0 0
thiagoralves
That was the first image I found on Google. This is strange because the C code address those pins exactly with the numbers listed in the dialog window. So Arduino can digest 62, 63, 64, etc.. as A8, A9, A10, etc... Anyway, maybe I should look into a way to render those pins on the IDE as A8, A9, A10, etc to avoid confusion.
Reply 1 0
JimWilks
I agree that addressing A0 thru A15 directly would eliminate all of this confusion.
Reply 0 0
Reply