Skip to content

Commit

Permalink
Rewrite demo function using screenplay helper
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdino committed Sep 24, 2018
1 parent 17e61ab commit 4f5dd01
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,12 @@ def main():
lcd.displayImage(disp.txtDisp('Rokkitt:\n'+en_multi, 'Rokkitt', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp('Wenq:\n'+en_multi, 'Wenq', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp('NotoSansSC:\n'+en_multi, 'NotoSansSC', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp('NotoSerifSC:\n'+en_multi, 'NotoSerifSC', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp('Zfull:\n'+en_multi, 'Zfull', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp(demo2, 'Wenq', 30, resize=1, align=1))
lcd.delay(1000)
lcd.clearLCD()
Expand All @@ -77,9 +71,6 @@ def main():
lcd.displayImage(disp.txtDisp(zh_multi, 'NotoSerifSC', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp(zh_multi, 'Zfull', resize=1))
lcd.delay(2000)
lcd.clearLCD()
lcd.displayImage(disp.txtDisp(demo3, 'Rokkitt', 30, resize=1, align=1))
lcd.delay(1000)
lcd.clearLCD()
Expand Down

0 comments on commit 4f5dd01

Please sign in to comment.