Adding test files

This commit is contained in:
LazyAssassin445
2017-02-24 11:37:20 +00:00
parent 4f6376880c
commit 8a27c1bc89
2 changed files with 30 additions and 0 deletions

13
beamtest Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/python3
import RPi.GPIO as GPIO
import time
import sys
GPIO.setmode(GPIO.BCM)
GPIO.setup(23, GPIO.IN, GPIO.PUD_UP)
while True:
print(GPIO.input(23), end="")
sys.stdout.flush()
time.sleep(.1)