diff options
| author | Mike Causer | 2016-08-01 09:52:00 +1000 |
|---|---|---|
| committer | Paul Sokolovsky | 2016-08-02 11:17:46 +0300 |
| commit | ce166e6b68b7fafb73a99fd64081f8a4155fe22a (patch) | |
| tree | 20b063465b430968482cea18c41f949fbd2ec845 /docs/pyboard/tutorial/usb_mouse.rst | |
| parent | 3eb532e97463b7f9b9ffe6f617a035284ef3e37b (diff) | |
docs: Spelling mistakes
Diffstat (limited to 'docs/pyboard/tutorial/usb_mouse.rst')
| -rw-r--r-- | docs/pyboard/tutorial/usb_mouse.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/pyboard/tutorial/usb_mouse.rst b/docs/pyboard/tutorial/usb_mouse.rst index 4c3a85e54..ac1de6e27 100644 --- a/docs/pyboard/tutorial/usb_mouse.rst +++ b/docs/pyboard/tutorial/usb_mouse.rst @@ -61,7 +61,7 @@ The first argument to the function ``osc`` is the number of mouse events to send and the second argument is the delay (in milliseconds) between events. Try playing around with different numbers. -**Excercise: make the mouse go around in a circle.** +**Exercise: make the mouse go around in a circle.** Making a mouse with the accelerometer ------------------------------------- @@ -85,14 +85,14 @@ the [safe mode tutorial](tut-reset), but we repeat the instructions here: 3. The LEDs will then cycle green to orange to green+orange and back again. 4. Keep holding down USR until *only the orange LED is lit*, and then let go of the USR switch. -5. The orange LED should flash quickly 4 times, and then turn off. +5. The orange LED should flash quickly 4 times, and then turn off. 6. You are now in safe mode. In safe mode, the ``boot.py`` and ``main.py`` files are not executed, and so the pyboard boots up with default settings. This means you now have access to the filesystem (the USB drive should appear), and you can edit ``main.py``. (Leave ``boot.py`` as-is, because we still want to go back to HID-mode after -we finish editting ``main.py``.) +we finish editing ``main.py``.) In ``main.py`` put the following code:: |
