Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
05a2bb88
Commit
05a2bb88
authored
Oct 29, 2017
by
Yuval Langer
Committed by
Damien George
Oct 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs/reference/isr_rules: Minor typo correction.
parent
8f9af63c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/reference/isr_rules.rst
docs/reference/isr_rules.rst
+1
-1
No files found.
docs/reference/isr_rules.rst
View file @
05a2bb88
...
@@ -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))
gree
e
n = 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment