How to check one shot timer is running or stop?

markevens
Posts: 38
Joined: Sat Aug 01, 2020 6:31 am

How to check one shot timer is running or stop?

Postby markevens » Thu Jun 23, 2022 9:07 am

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......

rpiloverbd
Posts: 101
Joined: Tue Mar 22, 2022 5:23 am

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

Postby rpiloverbd » Thu Jun 23, 2022 10:21 am

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.

markevens
Posts: 38
Joined: Sat Aug 01, 2020 6:31 am

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

Postby markevens » Sat Jun 25, 2022 6:27 am

Yes, I am using version 4.4 and that API is not in this version.

Who is online

Users browsing this forum: No registered users and 369 guests