Microbit/microbit/__init__.py

changeset 10
f34fe5abe069
parent 0
b3daa2ebea2f
child 11
c8198736bff3
--- a/Microbit/microbit/__init__.py	Thu Aug 29 19:06:37 2019 +0200
+++ b/Microbit/microbit/__init__.py	Wed Apr 29 18:26:18 2020 +0200
@@ -24,7 +24,7 @@
 
 ######################################################################
 
-class Button():
+class MicroBitButton():
     def is_pressed(self):
         pass
     
@@ -34,8 +34,8 @@
     def get_presses(self):
         pass
 
-button_a = Button()
-button_b = Button()
+button_a = MicroBitButton()
+button_b = MicroBitButton()
 
 ######################################################################
 

eric ide

mercurial