diff options
author | Damien George <damien@micropython.org> | 2021-12-15 11:49:22 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-12-15 11:49:22 +1100 |
commit | d9d67adef1113ab18f1bb3c0c6204ccb210a27be (patch) | |
tree | c1806e1109c043c89023253472d11909ccec7fa9 /docs/wipy/tutorial | |
parent | 5ca56aaf166c3e7cda178dfe809f8caf599b1dff (diff) |
docs: Remove trailing spaces and convert tabs to spaces.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/wipy/tutorial')
-rw-r--r-- | docs/wipy/tutorial/reset.rst | 6 | ||||
-rw-r--r-- | docs/wipy/tutorial/timer.rst | 2 | ||||
-rw-r--r-- | docs/wipy/tutorial/wlan.rst | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/wipy/tutorial/reset.rst b/docs/wipy/tutorial/reset.rst index ece28498b..1715d3e29 100644 --- a/docs/wipy/tutorial/reset.rst +++ b/docs/wipy/tutorial/reset.rst @@ -1,10 +1,10 @@ Reset and boot modes ==================== -There are soft resets and hard resets. +There are soft resets and hard resets. - - A soft reset simply clears the state of the MicroPython virtual machine, - but leaves hardware peripherals unaffected. To do a soft reset, simply press + - A soft reset simply clears the state of the MicroPython virtual machine, + but leaves hardware peripherals unaffected. To do a soft reset, simply press **Ctrl+D** on the REPL, or within a script do:: import sys diff --git a/docs/wipy/tutorial/timer.rst b/docs/wipy/tutorial/timer.rst index c87ac4495..7cd7d0f13 100644 --- a/docs/wipy/tutorial/timer.rst +++ b/docs/wipy/tutorial/timer.rst @@ -5,7 +5,7 @@ Timers can be used for a great variety of tasks, calling a function periodically counting events, and generating a PWM signal are among the most common use cases. Each timer consists of two 16-bit channels and this channels can be tied together to form one 32-bit timer. The operating mode needs to be configured per timer, but then -the period (or the frequency) can be independently configured on each channel. +the period (or the frequency) can be independently configured on each channel. By using the callback method, the timer event can call a Python function. Example usage to toggle an LED at a fixed frequency:: diff --git a/docs/wipy/tutorial/wlan.rst b/docs/wipy/tutorial/wlan.rst index 434367cd9..bdfd3e0a5 100644 --- a/docs/wipy/tutorial/wlan.rst +++ b/docs/wipy/tutorial/wlan.rst @@ -13,9 +13,9 @@ You can check the current mode (which is always ``WLAN.AP`` after power up):: >>> wlan.mode() -.. warning:: - When you change the WLAN mode following the instructions below, your WLAN - connection to the WiPy will be broken. This means you will not be able +.. warning:: + When you change the WLAN mode following the instructions below, your WLAN + connection to the WiPy will be broken. This means you will not be able to run these commands interactively over the WLAN. There are two ways around this:: |