diff --git a/Code/Python_Code/12.1.1_Joystick/Joystick.py b/Code/Python_Code/12.1.1_Joystick/Joystick.py index c367e32..9f96587 100644 --- a/Code/Python_Code/12.1.1_Joystick/Joystick.py +++ b/Code/Python_Code/12.1.1_Joystick/Joystick.py @@ -24,7 +24,6 @@ def analogWrite(value): bus.write_byte_data(address,cmd,value) def setup(): - global p_Red,p_Green,p_Blue GPIO.setmode(GPIO.BOARD) GPIO.setup(Z_Pin,GPIO.IN,GPIO.PUD_UP) #set Z_Pin to pull-up mode def loop(): diff --git a/Tutorial.pdf b/Tutorial.pdf index ed97e92..e73ae36 100644 Binary files a/Tutorial.pdf and b/Tutorial.pdf differ