docs/pyboard: Fix typo in pyb.Switch tutorial.
This commit is contained in:
parent
31ac410a4f
commit
0054fff840
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user