Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 722 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 722 Bytes

micropython-QMC5883L

Micropython driver for QMC5883L digital compass

Overview

Should be compatible with most micropython platforms, tested on ESP32-C3.

Example Usage

import qmc5883l
bus = SoftI2C(scl=Pin(3), sda=Pin(4), freq=100000)
qmc = QMC5883L(bus)
(x, y, z, status, temperature) = qmc.read()

References