timer

HyperUniverse
Posts: 33
Joined: Fri Oct 29, 2021 11:20 pm

timer

Postby HyperUniverse » Tue Nov 02, 2021 11:40 am

Another annoying problem:

Why there is an example project

Code: Select all

/* esp_timer (high resolution timer) example

   This example code is in the Public Domain (or CC0 licensed, at your option.)

   Unless required by applicable law or agreed to in writing, this
   software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
   CONDITIONS OF ANY KIND, either express or implied.
*/
which has an

Code: Select all

esp_timer_delete
but I can't find any

Code: Select all

esp_timer_delete
in the online documentation at
https://docs.espressif.com/projects/esp ... imer_idx_t

Are there any other sources of documentation on how to program this ESP32, more detailed and more straightforward, or are we just gonna guess the right technique to code?

markkuk
Posts: 38
Joined: Wed Mar 27, 2019 11:50 am

Re: timer

Postby markkuk » Tue Nov 02, 2021 12:32 pm

The first comment line of the code states it's an example of the High Resolution Timer API and the documentation for esp_timer_delete() is on that page. No need to guess, just read more carefully.

Who is online

Users browsing this forum: No registered users and 162 guests