removed unnessessary code
This commit is contained in:
parent
9f0d7120ee
commit
1bf8b589a3
1 changed files with 0 additions and 28 deletions
|
|
@ -201,31 +201,3 @@ arduinoConnectedLable.pack()
|
||||||
|
|
||||||
|
|
||||||
rootFrameGui.mainloop()
|
rootFrameGui.mainloop()
|
||||||
exit() #### exit for testing
|
|
||||||
#select game
|
|
||||||
while gameSelected == False:
|
|
||||||
gameNo = input("1:BEAMNG\n2:FORZA\n\n7:Toggle CSV out ("+str(csvOut)+")\n9:SET SERIAL PORT ("+SERIAL_PORT+")\n")
|
|
||||||
if gameNo == "1":
|
|
||||||
portToConnect = BEAMNG_UDP_PORT
|
|
||||||
gameSelected = True
|
|
||||||
gameType=GameType.BEAMNG
|
|
||||||
print("BeamNG Selected")
|
|
||||||
elif gameNo == "2":
|
|
||||||
portToConnect = FORZA_UDP_PORT
|
|
||||||
gameType=GameType.FORZA
|
|
||||||
gameSelected=True
|
|
||||||
print("Forza Selected")
|
|
||||||
elif gameNo == "7":
|
|
||||||
if csvOut == True:
|
|
||||||
csvOut=False
|
|
||||||
elif csvOut ==False:
|
|
||||||
csvOut =True
|
|
||||||
elif gameNo == "9":
|
|
||||||
SERIAL_PORT = input("set serial port: ")
|
|
||||||
else:
|
|
||||||
print("please select a number from the list")
|
|
||||||
|
|
||||||
|
|
||||||
print("ready:\n")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue