We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9af63 commit 05a2bb8Copy full SHA for 05a2bb8
docs/reference/isr_rules.rst
@@ -80,7 +80,7 @@ example causes two LED's to flash at different rates.
80
self.led.toggle()
81
82
red = Foo(pyb.Timer(4, freq=1), pyb.LED(1))
83
- greeen = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2))
+ green = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2))
84
85
In this example the ``red`` instance associates timer 4 with LED 1: when a timer 4 interrupt occurs ``red.cb()``
86
is called causing LED 1 to change state. The ``green`` instance operates similarly: a timer 2 interrupt
0 commit comments