Microbit/neopixel.py

changeset 11
c8198736bff3
parent 0
b3daa2ebea2f
--- a/Microbit/neopixel.py	Wed Apr 29 18:26:18 2020 +0200
+++ b/Microbit/neopixel.py	Sun Apr 04 16:54:03 2021 +0200
@@ -8,7 +8,7 @@
 """
 
 class NeoPixel():
-    def __init__(self, pin, n):
+    def __init__(self, pin, n, bpp=3):
         pass
     
     def clear(self):
@@ -16,3 +16,9 @@
     
     def show(self):
         pass
+    
+    def write(self):
+        pass
+    
+    def fill(self, color):
+        pass

eric ide

mercurial