9
0
Fork 0

add missing import

This commit is contained in:
Silver Kuusik 2018-08-15 08:36:27 +02:00
parent 9ee9969b4b
commit 0b8cf2fef8
1 changed files with 2 additions and 2 deletions

4
hal.py
View File

@ -1,7 +1,7 @@
import os
import ujson
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
STATUS = 0
@ -63,7 +63,7 @@ class Sumorobot(object):
# For terminating sleep
self.terminate = False
# For search mode
self.search = False
self.search_counter = 0