Skip to content

Commit 07294e6

Browse files
authored
Merge pull request #6 from kattni/remove-spi-from-example
removed SPI from example
2 parents 1164b4d + 6eeffba commit 07294e6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/lsm9ds0_simpletest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
i2c = busio.I2C(board.SCL, board.SDA)
1717
sensor = adafruit_lsm9ds0.LSM9DS0_I2C(i2c)
1818

19-
# SPI connection:
20-
#spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO)
21-
#xmcs = digitalio.DigitalInOut(board.D5) # Pin connected to XMCS (accel/mag chip select).
22-
#gcs = digitalio.DigitalInOut(board.D6) # Pin connected to GCS (gyro chip select).
23-
#sensor = adafruit_lsm9ds0.LSM9DS0_SPI(spi, xmcs, gcs)
24-
2519
# Main loop will read the acceleration, magnetometer, gyroscope, Temperature
2620
# values every second and print them out.
2721
while True:

0 commit comments

Comments
 (0)