Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm wanting to sleep the processor by a function similar to wait_ms(). The problem I have is that I'm sampling a signal at 100Hz, and I want to reduce power consumption as much as possible, so sleep between samples (if possible) would be ideal. How would I go about doing this? It has to be sample on interrupt correct, but I don't want to use the RTC to interrupt.