def run(self):
        # The WebSocketApp loop runs in it's own thread,
        # so make sure you call TheButton.close() when you're done with it!
        self.the_button.start()

        try:
            while True:
                colour = self.the_button.ascii_colour
                self.interface.write(colour.encode()) 
        except __HOLE__:
            pass
        self.close()
dataset/ETHPy150Open ALPSquid/thebutton-monitor/src/examples/arduino_example.py/ButtonSerial.run