Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
time-machine
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Hörnquist
time-machine
Commits
1793d21a
Commit
1793d21a
authored
7 years ago
by
Hugo Hornquist
Browse files
Options
Downloads
Patches
Plain Diff
changes
parent
94057a6e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.pins.txt.swp
+0
-0
0 additions, 0 deletions
.pins.txt.swp
bcm.py
+6
-2
6 additions, 2 deletions
bcm.py
machine.py
+0
-0
0 additions, 0 deletions
machine.py
pins.txt
+10
-0
10 additions, 0 deletions
pins.txt
with
16 additions
and
2 deletions
.pins.txt.swp
0 → 100644
+
0
−
0
View file @
1793d21a
File added
This diff is collapsed.
Click to expand it.
bcm.py
+
6
−
2
View file @
1793d21a
#!/usr/bin/env python2
#!/usr/bin/env python2
import
RPi.GPIO
as
g
import
RPi.GPIO
as
g
import
time
g
.
setmode
(
g
.
BCM
)
g
.
setmode
(
g
.
BCM
)
g
.
setup
(
17
,
g
.
IN
)
g
.
setup
(
17
,
g
.
IN
)
g
.
setup
(
18
,
g
.
OUT
)
g
.
setup
(
18
,
g
.
OUT
)
input_value
=
g
.
input
(
17
)
while
True
:
print
input_value
print
g
.
input
(
17
)
time
.
sleep
(
0.1
)
# print input_value
#g.output(18, g.HIGH)
#g.output(18, g.HIGH)
This diff is collapsed.
Click to expand it.
test
.py
→
machine
.py
+
0
−
0
View file @
1793d21a
File moved
This diff is collapsed.
Click to expand it.
pins.txt
0 → 100644
+
10
−
0
View file @
1793d21a
10 pins for lasers
1 pin for start
6 for direct display
Character Display
1 | VSS | GND
2 | VDD | +5V
3 | V0 | Contrast
...
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