We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6cc2244 + 41485ea commit f812548Copy full SHA for f812548
Feather_RP2040_Prop-Maker_Lightsaber/code.py
@@ -77,6 +77,7 @@ def play_wav(num, loop=False):
77
i2c = board.I2C()
78
int1 = DigitalInOut(board.ACCELEROMETER_INTERRUPT)
79
lis3dh = adafruit_lis3dh.LIS3DH_I2C(i2c, int1=int1)
80
+# Accelerometer Range (can be 2_G, 4_G, 8_G, 16_G)
81
lis3dh.range = adafruit_lis3dh.RANGE_2_G
82
lis3dh.set_tap(1, HIT_THRESHOLD)
83
0 commit comments