From 5664a98601d83a1da91789e626ece79d7f32b45a Mon Sep 17 00:00:00 2001 From: anyin93 <32222724+anyin93@users.noreply.github.com> Date: Sat, 2 Dec 2017 18:00:32 +0900 Subject: [PATCH 1/2] Update effects.py --- effects.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/effects.py b/effects.py index c5d251e..3784eef 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 count in range(0,5): self.wall.clear() # Set every pixel to the background color, since ascii8x8 will only @@ -348,10 +348,21 @@ def run(self): self.wall.set_pixel(x, y, background) # Color the letter. + if count==0: + ord=83 + elif count==1: + ord=85 + elif count==2: + ord=74 + elif count==3: + ord=73 + elif count==4: + ord=78 + ascii8x8.draw_chr(chr(ord), self.wall, foreground, background, x_offset, y_offset) self.wall.draw() - time.sleep(.1) + time.sleep(.10) class Bouncer(Effect): class Ball(object): From c1eb50e8edeba060eaef4806137b458e69c1d262 Mon Sep 17 00:00:00 2001 From: sujin Date: Sat, 2 Dec 2017 18:03:44 +0900 Subject: [PATCH 2/2] myname --- effects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects.py b/effects.py index 3784eef..129c799 100644 --- a/effects.py +++ b/effects.py @@ -362,7 +362,7 @@ def run(self): ascii8x8.draw_chr(chr(ord), self.wall, foreground, background, x_offset, y_offset) self.wall.draw() - time.sleep(.10) + time.sleep(.20) class Bouncer(Effect): class Ball(object):