Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jposada202020 committed Jun 25, 2023
1 parent 58415e2 commit 64c4119
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 1 addition & 11 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,4 @@
# SPDX-License-Identifier: Unlicense

sphinx-immaterial

docutils >=0.14,<0.18

# sphinx 5.3.0 requires Jinja2 >=3.0 and docutils >=0.14,<0.20
sphinx >=5.0.0,<6

# replaces outdated and no longer maintained m2rr
myst-parser >= 0.18.1,<1

# mock imports of "micropython"
mock >=4.0.3,<5
mock
4 changes: 3 additions & 1 deletion micropython_lis3mdl/lis3mdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,14 @@ class LIS3MDL:
.. code-block:: python
i2c = I2C(1, sda=Pin(2), scl=Pin(3))
lis3mdl = lis3mdl.LIS3MDL(i2c)
lis = lis3mdl.LIS3MDL(i2c)
Now you have access to the attributes
.. code-block:: python
magx, magy, magz = lis.magnetic
"""

_device_id = RegisterStruct(_REG_WHO_AM_I, "B")
Expand Down

0 comments on commit 64c4119

Please sign in to comment.