diff options
| author | Damien George <damien.p.george@gmail.com> | 2019-12-04 15:02:54 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-12-04 15:02:54 +1100 |
| commit | 90c524c1141ed9ad8fa882dba6f36199a7768e32 (patch) | |
| tree | 0ee0799df23cb231c47de6f0b885d6f124e448c6 /docs/wipy | |
| parent | 40cc7ec677e962c47db567479e42c27ed8911ff6 (diff) | |
docs: Remove spaces on lines that are empty.
Diffstat (limited to 'docs/wipy')
| -rw-r--r-- | docs/wipy/quickref.rst | 4 | ||||
| -rw-r--r-- | docs/wipy/tutorial/repl.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst index 6349676cf..a22ea45b5 100644 --- a/docs/wipy/quickref.rst +++ b/docs/wipy/quickref.rst @@ -62,7 +62,7 @@ Timer ``id``'s take values from 0 to 3.:: tim = Timer(0, mode=Timer.PERIODIC) tim_a = tim.channel(Timer.A, freq=1000) tim_a.freq(5) # 5 Hz - + p_out = Pin('GP2', mode=Pin.OUT) tim_a.irq(trigger=Timer.TIMEOUT, handler=lambda t: p_out.toggle()) @@ -75,7 +75,7 @@ See :ref:`machine.Pin <machine.Pin>` and :ref:`machine.Timer <machine.Timer>`. : # timer 1 in PWM mode and width must be 16 buts tim = Timer(1, mode=Timer.PWM, width=16) - + # enable channel A @1KHz with a 50.55% duty cycle tim_a = tim.channel(Timer.A, freq=1000, duty_cycle=5055) diff --git a/docs/wipy/tutorial/repl.rst b/docs/wipy/tutorial/repl.rst index 8c60e2c1d..95b545d09 100644 --- a/docs/wipy/tutorial/repl.rst +++ b/docs/wipy/tutorial/repl.rst @@ -51,7 +51,7 @@ Open a terminal and run:: or:: $ screen /dev/tty.usbmodem* 115200 - + When you are finished and want to exit ``screen``, type CTRL-A CTRL-\\. If your keyboard does not have a \\-key (i.e. you need an obscure combination for \\ like ALT-SHIFT-7) you can remap the ``quit`` command: - create ``~/.screenrc`` |
