#!/usr/bin/python import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) GPIO.setup(10,GPIO.OUT) p=GPIO.PWM(10,1140) p.start(20) sleep(3600) p.stop() GPIO.cleanup() exit()