Basic MEGA pins question

liudr:
Everyone!

I just started using my MEGA1280 for a prototype work. I am learning my MEGA speak now.

Arduino official site says MEGA has 54 digital pins and 16 analog pins. So a total of 70 independent pins, correct?
The Atmel Doc2549 says 86 programmable I/O lines for MEGA640/1280/2560. Does this mean some of the I/O lines are not brought out on MEGA1280/2560?

Just want to know all my pins :grin: in case I need to use RuggedCircuit's MegaRAM shield.

Thank you!

Yes there are 16 pins that the arduino mega boards do not break out to any socket pins, no traces leaving those chip pins. The Seeeduino mega board (1280 based) does break out those additional 16 pins to an additional socket but I'm not sure the arduino core pins definition includes those 'extra' 16 I/O pin or not and if not you would have to use direct port access commands to read or write to them.

Lefty