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.
5 years ago.
How do I use the LowPowerTimer or the LowPowerTimeout?
I have attempted to compile the LowPowerTimeout-example after importing the program from: https://os.mbed.com/docs/mbed-os/v5.9/reference/lowpowertimeout.html
I get the error that LowPowerTimeout is an unknown type. I see it in the classes for mbed-os, but I think it is listed as private. A similar thing happens when I try to use the LowPowerTicker.
What am I doing wrong?
1 Answer
5 years ago.
Bill, which target board are you compiling for? LPC1768 does not compile without error with any OS revision, not much in the way of low power on this one anyway. The Maxim does compile and sort of work but I can't get any low power results and is just not supported on Mbed anymore. I don't have any Nordic boards so can't check that but Nordic's are all about low energy so should be okay?.
Thanks for the response. I was using an LPC1768. Next on my list was a Maxim board, although maybe I will try my Nordic, based on your comments. I guess I will just stick with the normal ticker on the LPC1768. My use for that does not need to be low power. But, I'll keep this in mind and skip the LPC1768 for the low power uses. Thanks again for the quick response.
posted by 22 Nov 2019