narcoleptic library doesn't compile with Mega2560 or 1284p

PRR is the power reduction register. The larger MCUs have more peripherals and one register isn't enough, so they have PRR0 and PRR1 instead of just PRR.

Thanks Jack that explains why the Narcoleptic library doesn't work.

Can anyone recommend a sleep library for the ATmega1284P?

Roger