Skip to content

Commit 6a65910

Browse files
committed
More formatting
1 parent ae5d300 commit 6a65910

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

examples/l3gd20_simpletest.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
# Initializes L3GD20 object using default range, 250dps
99
SENSOR = adafruit_l3gd20.L3GD20_I2C(I2C)
1010
# Initialize L3GD20 object using a custom range and output data rate (ODR).
11-
# SENSOR = adafruit_l3gd20.L3GD20_I2C(I2C, rng=adafruit_l3gd20.L3DS20_RANGE_500DPS, rate=adafruit_l3gd20.L3DS20_RATE_200HZ)
11+
# SENSOR = adafruit_l3gd20.L3GD20_I2C(
12+
# I2C, rng=adafruit_l3gd20.L3DS20_RANGE_500DPS, rate=adafruit_l3gd20.L3DS20_RATE_200HZ
13+
# )
1214

1315
# Possible values for rng are:
1416
# adafruit_l3gd20.L3DS20_Range_250DPS, 250 degrees per second. Default range
@@ -26,7 +28,12 @@
2628
# CS = digitalio.DigitalInOut(board.D5)
2729
# SPIB = busio.SPI(board.SCK, board.MOSI, board.MISO)
2830
# SENSOR = adafruit_l3gd20.L3GD20_SPI(SPIB, CS)
29-
# SENSOR = adafruit_l3gd20.L3GD20_I2C(SPIB, CS, rng=adafruit_l3gd20.L3DS20_RANGE_500DPS, rate=adafruit_l3gd20.L3DS20_RATE_200HZ)
31+
# SENSOR = adafruit_l3gd20.L3GD20_I2C(
32+
# SPIB,
33+
# CS,
34+
# rng=adafruit_l3gd20.L3DS20_RANGE_500DPS,
35+
# rate=adafruit_l3gd20.L3DS20_RATE_200HZ,
36+
# )
3037

3138
while True:
3239
print("Angular Momentum (rad/s): {}".format(SENSOR.gyro))

0 commit comments

Comments
 (0)