And this chart may come in useful to show what arduino pin numbers coorespond to what port/bit number for either a 328p chip or a mega1280/2560 chip.
https://spreadsheets.google.com/pub?key=rtHw_R6eVL140KS9_G8GPkA&gid=0
And this chart may come in useful to show what arduino pin numbers coorespond to what port/bit number for either a 328p chip or a mega1280/2560 chip.
https://spreadsheets.google.com/pub?key=rtHw_R6eVL140KS9_G8GPkA&gid=0