docs/pyboard: Fix typo in pyb.Switch tutorial.

pull/7216/head
Gabriel M Schuyler 2021-02-07 12:35:47 -06:00 zatwierdzone przez Damien George
rodzic 31ac410a4f
commit 0054fff840
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -93,7 +93,7 @@ on the pin for any changes, and the following will occur:
running Python script. running Python script.
3. The microcontroller starts executing the special interrupt handler 3. The microcontroller starts executing the special interrupt handler
associated with the switch's external trigger. This interrupt handler associated with the switch's external trigger. This interrupt handler
get the function that you registered with ``sw.callback()`` and executes gets the function that you registered with ``sw.callback()`` and executes
it. it.
4. Your callback function is executed until it finishes, returning control 4. Your callback function is executed until it finishes, returning control
to the switch interrupt handler. to the switch interrupt handler.