Unverified Commit 6b33cbb6 authored by Pedro Minatel's avatar Pedro Minatel Committed by GitHub

Fixed the countUp description (#7590)

parent 1d595fd3
##########
#####
Timer
##########
#####
About
-----
......@@ -19,7 +19,7 @@ ESP32-S3 4
========= ================
Arduino-ESP32 Timer API
----------------------------
-----------------------
timerBegin
**********
......@@ -31,10 +31,8 @@ This function is used to configure the timer. After successful setup the timer w
hw_timer_t * timerBegin(uint8_t num, uint16_t divider, bool countUp);
* ``num`` select timer number.
* ``divider`` select timer divider.
* ``resolution`` select timer resolution.
* range is 1-14 bits (1-20 bits for ESP32).
* ``divider`` select timer divider. Sets how quickly the timer counter is “ticking”.
* ``countUp`` select timer direction. Sets if the counter should be incrementing or decrementing.
This function will return ``timer`` structure if configuration is successful.
If ``NULL`` is returned, error occurs and the timer was not configured.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment