add missing import
This commit is contained in:
4
hal.py
4
hal.py
@@ -1,7 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
import ujson
|
import ujson
|
||||||
from utime import sleep_us, sleep_ms
|
from utime import sleep_us, sleep_ms
|
||||||
from machine import Pin, PWM, ADC, time_pulse_us
|
from machine import Pin, PWM, ADC, time_pulse_us, deepsleep
|
||||||
|
|
||||||
# LEDs
|
# LEDs
|
||||||
STATUS = 0
|
STATUS = 0
|
||||||
@@ -63,7 +63,7 @@ class Sumorobot(object):
|
|||||||
|
|
||||||
# For terminating sleep
|
# For terminating sleep
|
||||||
self.terminate = False
|
self.terminate = False
|
||||||
|
|
||||||
# For search mode
|
# For search mode
|
||||||
self.search = False
|
self.search = False
|
||||||
self.search_counter = 0
|
self.search_counter = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user