import RPi.GPIO as GPIO #provides a class to control the GPIO
import time
GPIO.setwarnings(False)
in1 = 4 #PIN4, GPIO4

#GPIO.setmode(GPIO.BOARD) #GPIO.BOARD use PIN ID to init
                         #GPIO.BCM use GPIO ID to init

GPIO.setmode(GPIO.BCM)

GPIO.setup(in1, GPIO.OUT) #set in1 as output digital line


def turn_on():
    GPIO.output(in1, False) #Engine ON 

def turn_off(): 
    GPIO.output(in1,True) #Engine off

