From 0b8cf2fef880db4bb87b819749f98a186dcfaba6 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 15 Aug 2018 08:36:27 +0200 Subject: [PATCH] add missing import --- hal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hal.py b/hal.py index c8cb107..22003e4 100644 --- a/hal.py +++ b/hal.py @@ -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