From 6c31ca13ccdf386ed0f9c9ceb6e250e5a13ac22a Mon Sep 17 00:00:00 2001 From: jmlee-20171202 <34182954+jmlee-20171202@users.noreply.github.com> Date: Sat, 2 Dec 2017 17:41:49 +0900 Subject: [PATCH] =?UTF-8?q?Modify=20LetterTest=20to=20print=20'Jae-Myeong?= =?UTF-8?q?=20Lee'=20#=2060112400=20=EC=9D=B4=EC=9E=AC=EB=AA=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects.py b/effects.py index c5d251e..6f17465 100644 --- a/effects.py +++ b/effects.py @@ -338,7 +338,7 @@ def run(self): # Display upper and lower case letters. The break between 90 and 97 is # for non-letter keyboard characters. - for ord in range(65, 91) + range(97, 123): + for ch in tuple('Jae-Myeong Lee'): self.wall.clear() # Set every pixel to the background color, since ascii8x8 will only @@ -348,7 +348,7 @@ def run(self): self.wall.set_pixel(x, y, background) # Color the letter. - ascii8x8.draw_chr(chr(ord), self.wall, foreground, background, + ascii8x8.draw_chr(ch, self.wall, foreground, background, x_offset, y_offset) self.wall.draw() time.sleep(.1)