Skip to content

Commit

Permalink
Flake8 violations
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Apr 11, 2017
1 parent 18562e2 commit b9208ba
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions test.py
Expand Up @@ -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
Expand All @@ -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)


0 comments on commit b9208ba

Please sign in to comment.