Skip to content

Commit 1711a73

Browse files
update unittests for LCD
1 parent 31b2bd2 commit 1711a73

File tree

3 files changed

+377
-79
lines changed

3 files changed

+377
-79
lines changed

lcd_i2c/const.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/usr/bin/env python3
22
# -*- coding: UTF-8 -*-
33

4-
from micropython import const
4+
try:
5+
from micropython import const
6+
except ImportError:
7+
def const(x):
8+
return x
59

610
# commands
711
#: Clear display command

tests/test_blink.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)