Skip to content

Commit 6157bdf

Browse files
committed
Add documentation
1 parent 55be58a commit 6157bdf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/modulino/knob.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
class ModulinoKnob(Modulino):
44

5+
# This module can have one of two default addresses
6+
# This is for a use case where two encoders are bundled together in a package
57
default_addresses = [0x74, 0x76]
68

79
def __init__(self, i2c_bus=None, address=None):

src/modulino/movement.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
from lsm6dsox import LSM6DSOX
33

44
class ModulinoMovement(Modulino):
5+
# Module can have one of two default addresses
6+
# based on the solder jumper configuration on the board
57
default_addresses = [0x6A, 0x6B]
68
convert_default_addresses = False
79

src/modulino/pressure.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
from lps22h import LPS22H
33

44
class ModulinoPressure(Modulino):
5+
# Module can have one of two default addresses
6+
# based on the solder jumper configuration on the board
57
default_addresses = [0x5C, 0x5D]
68
convert_default_addresses = False
79

0 commit comments

Comments
 (0)