summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library')
-rw-r--r--docs/library/pyb.Timer.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/library/pyb.Timer.rst b/docs/library/pyb.Timer.rst
index 34fe71155f..cc7a01f580 100644
--- a/docs/library/pyb.Timer.rst
+++ b/docs/library/pyb.Timer.rst
@@ -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.