added first test

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 18:34:46 +02:00
parent 9a34352b36
commit 1ecbbc6f87
2 changed files with 17 additions and 0 deletions

1
requirements.txt 100644
View File

@ -0,0 +1 @@

16
test.py
View File

@ -0,0 +1,16 @@
import time
import os
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
pins = [8,10,12,14,18,20,22,24]
for pin in pins:
GPIO.setup(pin, GPIO.OUT)
GPIO.output(pin, GPIO.LOW)
time.sleep(0.001)
GPIO.output(pin, GPIO.HIGH)
time.sleep(0.001)
GPIO.cleanup