Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
non-destructive text micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
badge fixer
non-destructive text micropython
Commits
ad4fb62f
Commit
ad4fb62f
authored
Sep 20, 2018
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
docs/pyboard: Fix to use Sphinx style for internal/external links.
parent
40a7e8c4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/pyboard/tutorial/servo.rst
+1
-1
1 addition, 1 deletion
docs/pyboard/tutorial/servo.rst
docs/pyboard/tutorial/switch.rst
+2
-0
2 additions, 0 deletions
docs/pyboard/tutorial/switch.rst
docs/pyboard/tutorial/timer.rst
+2
-2
2 additions, 2 deletions
docs/pyboard/tutorial/timer.rst
with
5 additions
and
3 deletions
docs/pyboard/tutorial/servo.rst
+
1
−
1
View file @
ad4fb62f
...
...
@@ -3,7 +3,7 @@ Controlling hobby servo motors
There are 4 dedicated connection points on the pyboard for connecting up
hobby servo motors (see eg
[
Wikipedia
](
http://en.wikipedia.org/wiki/Servo_%28radio_control%29
)
).
`
Wikipedia
<
http://en.wikipedia.org/wiki/Servo_%28radio_control%29
>`__
).
These motors have 3 wires: ground, power and signal. On the pyboard you
can connect them in the bottom right corner, with the signal pin on the
far right. Pins X1, X2, X3 and X4 are the 4 dedicated servo signal pins.
...
...
This diff is collapsed.
Click to expand it.
docs/pyboard/tutorial/switch.rst
+
2
−
0
View file @
ad4fb62f
.. _pyboard_tutorial_switch:
The Switch, callbacks and interrupts
====================================
...
...
This diff is collapsed.
Click to expand it.
docs/pyboard/tutorial/timer.rst
+
2
−
2
View file @
ad4fb62f
...
...
@@ -50,8 +50,8 @@ Timer callbacks
---------------
The next thing we can do is register a callback function for the timer to
execute when it triggers (see the
[
switch tutorial
](tut-switch) for an
introduction to callback functions)::
execute when it triggers (see the
:ref:`
switch tutorial
<pyboard_tutorial_switch>`
for an
introduction to callback functions)::
>>> tim.callback(lambda t:pyb.LED(1).toggle())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment