Skip to content
Snippets Groups Projects
Commit 05a2bb88 authored by Yuval Langer's avatar Yuval Langer Committed by Damien George
Browse files

docs/reference/isr_rules: Minor typo correction.

parent 8f9af63c
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ example causes two LED's to flash at different rates. ...@@ -80,7 +80,7 @@ example causes two LED's to flash at different rates.
self.led.toggle() self.led.toggle()
red = Foo(pyb.Timer(4, freq=1), pyb.LED(1)) red = Foo(pyb.Timer(4, freq=1), pyb.LED(1))
greeen = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2)) green = Foo(pyb.Timer(2, freq=0.8), pyb.LED(2))
In this example the ``red`` instance associates timer 4 with LED 1: when a timer 4 interrupt occurs ``red.cb()`` In this example the ``red`` instance associates timer 4 with LED 1: when a timer 4 interrupt occurs ``red.cb()``
is called causing LED 1 to change state. The ``green`` instance operates similarly: a timer 2 interrupt is called causing LED 1 to change state. The ``green`` instance operates similarly: a timer 2 interrupt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment