mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
examples/lis2ds12.py: fix comment typo
Signed-off-by: Alex Tereschenko <alext.mkrs@gmail.com>
This commit is contained in:
parent
a65cd2e59b
commit
82c8acf0fe
@ -26,7 +26,7 @@ import time, sys, signal, atexit
|
|||||||
from upm import pyupm_lis2ds12 as sensorObj
|
from upm import pyupm_lis2ds12 as sensorObj
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Instantiate a BMP250E instance using default i2c bus and address
|
# Instantiate a LIS2DS12 instance using default i2c bus and address
|
||||||
sensor = sensorObj.LIS2DS12()
|
sensor = sensorObj.LIS2DS12()
|
||||||
|
|
||||||
# For SPI, bus 0, you would pass -1 as the address, and a valid pin for CS:
|
# For SPI, bus 0, you would pass -1 as the address, and a valid pin for CS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user