4 years, 5 months 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

4 years, 5 months 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 Bill Cooke 22 Nov 2019