ams.py contains MicroPython code to test the angle sensor.
It will read the sensor's output and print in in the terminal.
To run it, after installing MicroPython on the ESP32, run the following command on your computer:
./pyboard.py ams.py --device /dev/tty.SLAB_USBtoUARTYou can interrupt it by pressing Ctrl-C.