https://www.st.com/en/mems-and-sensors/lis2dw12.html
from machine import I2C
import LIS2DW12
i2c = I2C(1)
lis = LIS2DW12.LIS2DW12(i2c)
lis.x()
lis.get()
From microbit/micropython Chinese community.
www.micropython.org.cn
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
https://www.st.com/en/mems-and-sensors/lis2dw12.html
from machine import I2C
import LIS2DW12
i2c = I2C(1)
lis = LIS2DW12.LIS2DW12(i2c)
lis.x()
lis.get()
From microbit/micropython Chinese community.
www.micropython.org.cn