Project 14:Ws2812 Rgb Leds - Eckstein komponente Keyestudio 4WD Mecanum Robot Car Manual

Table of Contents

Advertisement

Project 14:WS2812 RGB LEDs
(1)Project Description
The driver shield cooperates 4 pcs WS2812 RGB LEDs, compatible with
micro:bit board and controlled by P8. In this lesson, we will make RGB LEDs
display different colors by P8. In this lesson, 3 sets of test code are
provided to make the 4 WS2812 RGB LEDs display different effects.
(2)Experimental Preparation:
➢ Insert micro:bit board into slot of keyestudio 4WD Mecanum Robot Car
➢ Place batteries into battery holder
➢ Dial power switch to ON end
Import Hex profile (How to import?) , or click"New Project"and drag
blocks step by step(add MecanumRobot extension library first)
(How to add Mecanum_Robot extension?)
(3)Test Code
Code 1:
215

Advertisement

Table of Contents
loading

Table of Contents