Skip to content
Snippets Groups Projects
Commit 1793d21a authored by Hugo Hornquist's avatar Hugo Hornquist
Browse files

changes

parent 94057a6e
Branches
Tags
No related merge requests found
File added
#!/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)
File moved
pins.txt 0 → 100644
10 pins for lasers
1 pin for start
6 for direct display
Character Display
1 | VSS | GND
2 | VDD | +5V
3 | V0 | Contrast
...
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment