Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 05a2bb8

Browse files
yuvallangerdpgeorge
authored andcommitted
docs/reference/isr_rules: Minor typo correction.
1 parent 8f9af63 commit 05a2bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/isr_rules.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ example causes two LED's to flash at different rates.
8080
self.led.toggle()
8181
8282
red = Foo(pyb.Timer(4, freq=1), pyb.LED(1))
83-
greeen = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2))
83+
green = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2))
8484
8585
In this example the ``red`` instance associates timer 4 with LED 1: when a timer 4 interrupt occurs ``red.cb()``
8686
is called causing LED 1 to change state. The ``green`` instance operates similarly: a timer 2 interrupt

0 commit comments

Comments
 (0)