MicroPython module for control HSCDTD008A Geomagnetic Sensor.
Just connect (VCC, GND, SDA, SCL) from your HSCDTD008A board to Arduino, ESP or any other board with MicroPython firmware.
Supply voltage HSCDTD008A 3.3 Volts only!
Upload micropython firmware to the NANO(ESP, etc) board, and then files: main.py, hscdtd008a and sensor_pack folder. Then open main.py in your IDE and run it.