IMPORTANT: I introduced a major bug with the NmraDcc library when I added the Mega 1280/2560 support as it broke the Mega168 support and it took me hours to figure out why my code, that has worked for years, suddenly stopped working on my Mega168 dev board.
To work around the problem of how best to support multiple AVR MPUs, I have refactored the library to add a new pin() method that lets you explicitly define the External Interrupt (INTx), the associated Arduino Pin to use and to enable the Pull-up or not. I’ve updated the example to show the new usage.
If you’re using the NmraDcc library and you sketch has suddenly stopped working after you updated to the 2012-06-10 release, you should download the update from here and not use the 2012-06-10 release.