Commit 1793d21a authored by Hugo Hornquist's avatar Hugo Hornquist


parent 94057a6e
File added
#!/usr/bin/env python2
import RPi.GPIO as g
import time
g.setup(17, g.IN)
g.setup(18, g.OUT)
input_value = g.input(17)
print input_value
while True:
print g.input(17)
# print input_value
#g.output(18, g.HIGH)
10 pins for lasers
1 pin for start
6 for direct display
Character Display
1 | VSS | GND
2 | VDD | +5V
3 | V0 | Contrast
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment