EasyManua.ls Logo

Keyestudio 4WD - Page 216

Keyestudio 4WD
369 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
216
www.keyestudio.com
File Type
Path
File Name
Hex file
KS4031(4032) folder/Makecode
Tutorial/Makecode Code/Project
14:WS2812 RGB LEDs-1.hex
Project 14:WS2812
RGB LEDs-1.hex
Or you could edit code step by step in the editing area.
a. Enter“Neopixel” “set strip to Neopixel at pin P0 with 24 leds as RGB
(GRB format)”
b. Place it into“on start”block,
c. Signal end P8 of WS2812 RGB is controlled by P8 of micro:bit . So we set
to P8.
d. Smart car has 4 pcs WS2812 RGB lights, so set to 4 leads
Click“Neopixel”to move block“strip clear”into“on start”block.

Related product manuals