sleep mode and pin states

vander:
I'm using the watchdog. Can't use any of the interrupts available cause I’m already using them for other events... Every single pin on the Atmega 328 is already used (some with more than one task). Gonna start fiddling with other models for the next project cause the 328 is limiting.

  1. You can still enable the pin-change interrupt on the input pin you are already using.

  2. In many designs, it is possible to use some of the pins to interface to more than one device. It sounds like you are already doing this, but maybe you can take it further. I frequently re-use 5 of the pins for driving a character LCD display as multiplex pins for connecting push buttons or rotary encoders.