esp32 compass flash the code in the "esp32" directory in the esp32. connect via usb the esp32 to the computer. set the port (com) used in line 11 in the file compass.py for serial connection to work correctly run compass.py on your computer!