summaryrefslogtreecommitdiff
path: root/tests/wipy/wdt.py
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-16 14:09:51 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-21 22:30:32 +0200
commitdffa9f6da65cd03e834b2ed3914f40428f72e49f (patch)
tree1f2e51f17c511f884db77e47d481c0f9c1b6bed2 /tests/wipy/wdt.py
parent660f8613fd8e38863998a9758d97eada0eebc47d (diff)
cc3200: New SD and RTC API plus os and time modules' extensions.
Diffstat (limited to 'tests/wipy/wdt.py')
-rw-r--r--tests/wipy/wdt.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/wipy/wdt.py b/tests/wipy/wdt.py
index 9be6293b0..8e07fd831 100644
--- a/tests/wipy/wdt.py
+++ b/tests/wipy/wdt.py
@@ -3,6 +3,7 @@ WDT test for the CC3200 based boards
'''
from pyb import WDT
+import time
# test the invalid cases first
try:
@@ -28,10 +29,10 @@ try:
except Exception:
print("Exception")
-pyb.delay(500)
+time.sleep_ms(500)
wdt.feed()
print(wdt)
-pyb.delay(900)
+time.sleep_ms(900)
wdt.feed()
print(wdt)
-pyb.delay(950)
+time.sleep_ms(950)