We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74afff3 + 5ea32ff commit 70b82e4Copy full SHA for 70b82e4
examples/accel.py
@@ -14,6 +14,11 @@
14
i2c = busio.I2C(board.SCL, board.SDA)
15
lis3dh = adafruit_lis3dh.LIS3DH_I2C(i2c)
16
17
+# Hardware I2C setup on CircuitPlayground Express:
18
+# import busio
19
+# i2c = busio.I2C(board.ACCELEROMETER_SCL, board.ACCELEROMETER_SDA)
20
+# lis3dh = adafruit_lis3dh.LIS3DH_I2C(i2c, address=0x19)
21
+
22
# Software I2C setup:
23
#import bitbangio
24
#i2c = bitbangio.I2C(board.SCL, board.SDA)
0 commit comments