How to use PORTD,PORTB in Arduino ADK Mega

aluxner:
Hello John,

Have you found a solution? I have a similar situation: For an Arduino UNO project I'm using the PIND variable. In the UNO PORTD maps to Arduino digital pins 0 to 7. PIND is a variable for the Port D Input Pins Register - read only. I need the same information for the Mega ADK board - what is the equivalent variable for the digital input pin register 0 - 7?

thanks,

andrew

https://spreadsheets.google.com/pub?key=rtHw_R6eVL140KS9_G8GPkA&gid=0