Update examples in comments.

This commit is contained in:
iabdalkader 2021-06-15 17:14:18 +02:00
parent 559d375b1d
commit b162d4d5a4
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Base on: LSM9DS1 driver and https://github.com/arduino-libraries/Arduino_LSM6DSO
Example usage:
import time
import lsm6dsox
from lsm6dsox import LSM6DSOX
from machine import Pin, I2C
lsm = LSM6DSOX(I2C(0, scl=Pin(13), sda=Pin(12)))

View File

@ -30,8 +30,9 @@ Source repo: https://github.com/hoihu/projects/tree/master/raspi-hat
Example usage:
import time
import lsm9ds1
from lsm9ds1 import LSM9DS1
from machine import Pin, I2C
lsm = LSM9DS1(I2C(1, scl=Pin(15), sda=Pin(14)))
while (True):