Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
time-machine
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hugo Hörnquist
time-machine
Commits
1793d21a
Commit
1793d21a
authored
Apr 18, 2018
by
Hugo Hornquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes
parent
94057a6e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
.pins.txt.swp
.pins.txt.swp
+0
-0
bcm.py
bcm.py
+6
-2
machine.py
machine.py
+0
-0
pins.txt
pins.txt
+10
-0
No files found.
.pins.txt.swp
0 → 100644
View file @
1793d21a
File added
bcm.py
View file @
1793d21a
#!/usr/bin/env python2
import
RPi.GPIO
as
g
import
time
g
.
setmode
(
g
.
BCM
)
g
.
setup
(
17
,
g
.
IN
)
g
.
setup
(
18
,
g
.
OUT
)
input_value
=
g
.
input
(
17
)
print
input_value
while
True
:
print
g
.
input
(
17
)
time
.
sleep
(
0.1
)
# print input_value
#g.output(18, g.HIGH)
test
.py
→
machine
.py
View file @
1793d21a
File moved
pins.txt
0 → 100644
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
...
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