The OP
Published on 2020-5-9 12:39
Only look at the author
This post is from MicroPython Open Source section
Latest reply
Official routine
from machine import Pin
from neopixel import NeoPixel
pin = Pin(0, Pin.OUT) # set GPIO0 to output to drive NeoPixels
np = NeoPixel(pin, 8) # create NeoPixel driver on GPIO0 for 8 pixels
np[0] = (255, 255, 255) # set the first pixel to white
np.write() # write data to all pixels
r, g, b = np[0] # get first pixel colour
Details
Published on 2020-5-9 19:47
| ||
|
||
2
Published on 2020-5-9 19:36
Only look at the author
This post is from MicroPython Open Source section
| ||
|
||
|
3
Published on 2020-5-9 19:47
Only look at the author
This post is from MicroPython Open Source section
| ||
|
||
|
This post is from MicroPython Open Source section
| ||
|
||
|
This post is from MicroPython Open Source section
| ||
|
||
|
论坛测评队员
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190