You are right. Just goes to show that I have lot to learn. Cleaned the code up a little and added a 10 second sleep. #!/usr/bin/python import RPi.GPIO as GPIO import os import subprocess import time GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.OUT)#Sets the GPIO pin to be an ou...