Skip to content
This repository was archived by the owner on Dec 16, 2018. It is now read-only.

Commit 9c5c616

Browse files
authored
Switch to utime dependency.
1 parent baa0547 commit 9c5c616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rgb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import time
1+
import utime
22
import ustruct
33

44

@@ -111,9 +111,9 @@ def __init__(self, spi, dc, cs, rst=None, width=1, height=1):
111111

112112
def reset(self):
113113
self.rst.low()
114-
time.sleep_ms(50)
114+
utime.sleep_ms(50)
115115
self.rst.high()
116-
time.sleep_ms(50)
116+
utime.sleep_ms(50)
117117

118118
def _write(self, command=None, data=None):
119119
if command is not None:

0 commit comments

Comments
 (0)