I was wondering if anyone knew how one might program a sleep function that actually sleeps the arduino microprocessor and wakes up after a preset number of milliseconds or clock cycles. I would imagine this could be done with the watchdog timer. Basically, I don't want to use the delay function, as that is just a while loop. I really want to sleep the chip (for power saving reasons) and wait for a timed interrupt.
Any advice or code would be greatly appreciated,
Chris