Page 1 of 1

How to check one shot timer is running or stop?

Posted: Thu Jun 23, 2022 9:07 am
by markevens
I tried using "esp_timer_get_expiry_time" API, but it gives an error not declared in this scope. And trust me there is nothing problem with the code.

Anyone......

Re: How to check one shot timer is running or stop?

Posted: Thu Jun 23, 2022 10:21 am
by rpiloverbd
Hi, has there been any problem with the library installation? This error 'not declared in this scope' occurs when there is an unknown variable. Usually, when the included library is not installed but we try to compile a code, we often see this error.

Re: How to check one shot timer is running or stop?

Posted: Sat Jun 25, 2022 6:27 am
by markevens
Yes, I am using version 4.4 and that API is not in this version.