docs/library/pyb.Timer.rst: Add pyb.Timer class constants.

pull/8281/head
Jos Verlinde 2021-09-21 18:26:39 +02:00 zatwierdzone przez Damien George
rodzic 2c30ac7aeb
commit 50b172023f
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -262,3 +262,12 @@ Methods
for which the pulse is active. The value can be an integer or
floating-point number for more accuracy. For example, a value of 25 gives
a duty cycle of 25%.
Constants
---------
.. data:: Timer.UP
Timer.DOWN
Timer.CENTER
Configures the timer to count Up, Down, or from 0 to ARR and then back down to 0.