Parcourir la source

Update 'CARDPUTER CircuitPython/full_display_test.py'

cube il y a 9 mois
Parent
révision
381b980a45
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      CARDPUTER CircuitPython/full_display_test.py

+ 2
- 2
CARDPUTER CircuitPython/full_display_test.py Voir le fichier

@@ -20,9 +20,9 @@ board.DISPLAY.root_group = text_area
20 20
 while True:
21 21
     key = keyb.scan()
22 22
     if key == "BACKSP":
23
-        text = text[:-1]
23
+        text = text[:-1] 
24 24
     elif key == "CTRLD":
25 25
         text = "Press CTRL+D to clear text\n\n"
26 26
     else:
27 27
         text = text+key
28
-    text_area.text = text
28
+    text_area.text = text