Deleted some useless information in Joystick code.
This commit is contained in:
Suhayl
2018-11-10 09:44:11 +08:00
parent db867a9bd6
commit f791ccdaaa
2 changed files with 0 additions and 1 deletions
@@ -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():