changeset 5:3a29c19f9fd2

Fix the dor in 7seg
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Wed, 11 May 2016 00:19:17 +0200
parents 2674b567ac3c
children d56ff430807e
files ht16k33_seg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ht16k33_seg.py	Wed May 11 00:11:15 2016 +0200
+++ b/ht16k33_seg.py	Wed May 11 00:19:17 2016 +0200
@@ -175,7 +175,7 @@
             return
         char = char.lower()
         if char == '.':
-            self.buffer[index * 2 + 1] |= 0b01000000
+            self.buffer[index * 2 + 1] |= 0b10000000
             return
         elif char in 'abcdef':
             c = ord(char) - 97 + 10