Skip to content

Commit 4f5dd01

Browse files
committed
Rewrite demo function using screenplay helper
1 parent 17e61ab commit 4f5dd01

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

demo.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,12 @@ def main():
5353
lcd.displayImage(disp.txtDisp('Rokkitt:\n'+en_multi, 'Rokkitt', resize=1))
5454
lcd.delay(2000)
5555
lcd.clearLCD()
56-
lcd.displayImage(disp.txtDisp('Wenq:\n'+en_multi, 'Wenq', resize=1))
57-
lcd.delay(2000)
58-
lcd.clearLCD()
5956
lcd.displayImage(disp.txtDisp('NotoSansSC:\n'+en_multi, 'NotoSansSC', resize=1))
6057
lcd.delay(2000)
6158
lcd.clearLCD()
6259
lcd.displayImage(disp.txtDisp('NotoSerifSC:\n'+en_multi, 'NotoSerifSC', resize=1))
6360
lcd.delay(2000)
6461
lcd.clearLCD()
65-
lcd.displayImage(disp.txtDisp('Zfull:\n'+en_multi, 'Zfull', resize=1))
66-
lcd.delay(2000)
67-
lcd.clearLCD()
6862
lcd.displayImage(disp.txtDisp(demo2, 'Wenq', 30, resize=1, align=1))
6963
lcd.delay(1000)
7064
lcd.clearLCD()
@@ -77,9 +71,6 @@ def main():
7771
lcd.displayImage(disp.txtDisp(zh_multi, 'NotoSerifSC', resize=1))
7872
lcd.delay(2000)
7973
lcd.clearLCD()
80-
lcd.displayImage(disp.txtDisp(zh_multi, 'Zfull', resize=1))
81-
lcd.delay(2000)
82-
lcd.clearLCD()
8374
lcd.displayImage(disp.txtDisp(demo3, 'Rokkitt', 30, resize=1, align=1))
8475
lcd.delay(1000)
8576
lcd.clearLCD()

0 commit comments

Comments
 (0)