Changes

Jump to navigation Jump to search
m
Line 209: Line 209:  
                 ]
 
                 ]
 
     col4 = [
 
     col4 = [
 +
                [sg.Checkbox('Auto Data RecX',font=('Mono 9'), size=(15, 1), default=False, enable_events=True, key='-ADRecX-')],
 
                 [sg.Button('Gyroscope',size=(16,1),font=('Mono 9'), button_color=(sg.YELLOWS[0], sg.GREENS[0]))],
 
                 [sg.Button('Gyroscope',size=(16,1),font=('Mono 9'), button_color=(sg.YELLOWS[0], sg.GREENS[0]))],
 
                 [sg.Text('x',size=(1, 1),pad=(0,0)),sg.Text(size=(4, 1),font=('Mono 8'), key='-Gx-'),
 
                 [sg.Text('x',size=(1, 1),pad=(0,0)),sg.Text(size=(4, 1),font=('Mono 8'), key='-Gx-'),
Line 268: Line 269:  
         elif event == 'Send Command':
 
         elif event == 'Send Command':
 
             message_to_bot = values['-QUERY-'].rstrip()
 
             message_to_bot = values['-QUERY-'].rstrip()
             client.send(message_to_bot.encode())  
+
             client.send(message_to_bot.encode())
 +
        elif event == 'Auto Data RecX':
 +
            print("AD")
 +
            #client.send(message_to_bot.encode())           
 
         # --------------- Loop through all messages coming in from threads ---------------
 
         # --------------- Loop through all messages coming in from threads ---------------
 
         while True:                # loop executes until runs out of messages in Queue
 
         while True:                # loop executes until runs out of messages in Queue
4,000

edits

Navigation menu