I am hoping someone can me tell why the following line of code causes the program to freeze up (stop exciting).
Here is the included code
Here is the GPIO setup code
Thank you for sharing your wisdom.
1 2 |
# Tell the controller to execute the task GPIO.output(Run_Pin, True ) |
1 2 3 |
import RPi.GPIO as GPIO from tkinter import * from tkinter import _setit |
1 2 3 4 5 6 7 8 9 10 11 |
#Initize the GPIO pins GPIO.setmode(GPIO.BCM) GPIO.setup(BUZZER_Pin, GPIO.OUT) GPIO.setup(IntensitySelect_Pins, GPIO.OUT) GPIO.setup(Ready_LED_Pin, GPIO.OUT) GPIO.setup(PWR_LED_Pin, GPIO.OUT) GPIO.setup(PUSH_BUTTON_Pin, GPIO.IN) GPIO.setup(Busy_Pin, GPIO.IN) GPIO.setup(Run_Pin, GPIO.OUT) GPIO.setup(DIR_Pin , GPIO.OUT) GPIO.setup(Abort_Pin, GPIO.OUT) |
Thank you for sharing your wisdom