Microbit/neopixel.py

changeset 11
c8198736bff3
parent 0
b3daa2ebea2f
equal deleted inserted replaced
10:f34fe5abe069 11:c8198736bff3
6 """ 6 """
7 Module containing stubs for API generation of the 'neopixel' module. 7 Module containing stubs for API generation of the 'neopixel' module.
8 """ 8 """
9 9
10 class NeoPixel(): 10 class NeoPixel():
11 def __init__(self, pin, n): 11 def __init__(self, pin, n, bpp=3):
12 pass 12 pass
13 13
14 def clear(self): 14 def clear(self):
15 pass 15 pass
16 16
17 def show(self): 17 def show(self):
18 pass 18 pass
19
20 def write(self):
21 pass
22
23 def fill(self, color):
24 pass

eric ide

mercurial