From 6eeffbad9db8e02f48ce1696a1335069165e932f Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Mon, 20 Aug 2018 12:02:23 -0400 Subject: [PATCH] removed SPI from example --- examples/lsm9ds0_simpletest.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/lsm9ds0_simpletest.py b/examples/lsm9ds0_simpletest.py index 52956c3..f3c21d7 100644 --- a/examples/lsm9ds0_simpletest.py +++ b/examples/lsm9ds0_simpletest.py @@ -16,12 +16,6 @@ i2c = busio.I2C(board.SCL, board.SDA) sensor = adafruit_lsm9ds0.LSM9DS0_I2C(i2c) -# SPI connection: -#spi = busio.SPI(board.SCK, MOSI=board.MOSI, MISO=board.MISO) -#xmcs = digitalio.DigitalInOut(board.D5) # Pin connected to XMCS (accel/mag chip select). -#gcs = digitalio.DigitalInOut(board.D6) # Pin connected to GCS (gyro chip select). -#sensor = adafruit_lsm9ds0.LSM9DS0_SPI(spi, xmcs, gcs) - # Main loop will read the acceleration, magnetometer, gyroscope, Temperature # values every second and print them out. while True: