Does anyone know of a modified pins_arduino.h file for the mega2560 that allows you to access the 16 unmapped pins without using direct port?
Yes it will! Thanks
here is a table with the info
Mega 2560 Full Mapping.docx (18.2 KB)
Your user interrupt numbers don't seem to agree with the attachInterrupt() reference which shows
INT0 = D2
INT1 = D3
INT2 = D21
INT3 = D20
INT4 = D19
INT5 = D18
Strange.... But they match with this....
Well I guess some testing on real hardware is called for, or a visit to the source code. Anyone up to the task? I don't own a mega2650. ![]()
retrolefty:
Well I guess some testing on real hardware is called for, or a visit to the source code. Anyone up to the task? I don't own a mega2650.
I could loan you one.
PaulS:
retrolefty:
Well I guess some testing on real hardware is called for, or a visit to the source code. Anyone up to the task? I don't own a mega2650.I could loan you one.
No thanks, unless you also pack some of that now legal Washington State weed in with it. ![]()
unless you also pack some of that now legal Washington State weed in with it.
It wouldn't be legal when it got to you. Stupid laws in this country. 8)
CrossRoads:
I think this will do it.
I tried this file out and it seems like the mapping is incorrect.
This is from my testing. Has anyone also tested this and gotten it to work as the new mapping suggests? Would really like to connect to all of these pins. Thanks.
ATMEGA NEW PIN ACTUAL PIN
65 70 ?
66 71 ?
67 72 75
68 73 79
69 74 ?
79 75 74