diff --git a/test.py b/test.py index e348b38..0cdccbe 100644 --- a/test.py +++ b/test.py @@ -10,12 +10,9 @@ import time from luma.lcd.device import ht1621 -from luma.core.render import canvas from luma.led_matrix.virtual import sevensegment -from luma.led_matrix.segment_mapper import _DIGITS, regular +from luma.led_matrix.segment_mapper import regular -# 0x3e = 0b0011 1110 -# 0x6d = 0b0110 1101 def swap(byte, i, j): x = ((byte >> i) ^ (byte >> j)) & 1 @@ -37,10 +34,3 @@ def wrapped(text, notfound="_"): device.text = "123456" time.sleep(5) - -#for ch in _DIGITS.keys(): -# print(ch) -# device.text = ch * 6 -# time.sleep(1) - -