kopia lustrzana https://github.com/micropython/micropython-lib
lsm6dsox: Add missing time import.
Driver calls time.sleep_ms() in one place. Found by Ruff checking F821. Signed-off-by: Angus Gratton <angus@redyak.com.au>pull/714/head
rodzic
86050c3d7a
commit
2d16f210b9
|
@ -46,6 +46,7 @@ while (True):
|
||||||
|
|
||||||
import array
|
import array
|
||||||
from micropython import const
|
from micropython import const
|
||||||
|
import time
|
||||||
|
|
||||||
_CTRL3_C = const(0x12)
|
_CTRL3_C = const(0x12)
|
||||||
_CTRL1_XL = const(0x10)
|
_CTRL1_XL = const(0x10)
|
||||||
|
|
Ładowanie…
Reference in New Issue