aboutsummaryrefslogtreecommitdiffstats
path: root/System/initialize_system.py
blob: 6df880f43cf071e3a510ed5f9bf6149971362b32 (plain) (blame)
1
2
3
4
5
6
7
8
9
# This file should be run on system startup. It will initialize the linear position to the center so that all tests originate from a proper position.
# The center is found by using the hardware limit switches
from system import System
import RPi.GPIO as GPIO
        
# Main program
sys = System()
sys.initialize()
GPIO.cleanup()