summaryrefslogtreecommitdiff
path: root/docs/library/pyb.Timer.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-12-04 15:02:54 +1100
committerDamien George <damien.p.george@gmail.com>2019-12-04 15:02:54 +1100
commit90c524c1141ed9ad8fa882dba6f36199a7768e32 (patch)
tree0ee0799df23cb231c47de6f0b885d6f124e448c6 /docs/library/pyb.Timer.rst
parent40cc7ec677e962c47db567479e42c27ed8911ff6 (diff)
docs: Remove spaces on lines that are empty.
Diffstat (limited to 'docs/library/pyb.Timer.rst')
-rw-r--r--docs/library/pyb.Timer.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/pyb.Timer.rst b/docs/library/pyb.Timer.rst
index 977ba8890..bb7e7e52d 100644
--- a/docs/library/pyb.Timer.rst
+++ b/docs/library/pyb.Timer.rst
@@ -112,7 +112,7 @@ Methods
.. method:: Timer.deinit()
Deinitialises the timer.
-
+
Disables the callback (and the associated irq).
Disables any channel callbacks (and the associated irq).
@@ -191,7 +191,7 @@ Methods
- Read the encoder value using the timer.counter() method.
- Only works on CH1 and CH2 (and not on CH1N or CH2N)
- The channel number is ignored when setting the encoder mode.
-
+
PWM Example::
timer = pyb.Timer(2, freq=1000)