Keyestudio 4WD Manual page 232

Mecanum robot car
Hide thumbs Also See for 4WD:
Table of Contents

Advertisement

www.keyestudio.com
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, set to 4 leads
Click"Variables"→"Make a Variable..."
Input R to build up variable R
We create variable"G"and"B"in same way
Drag"set B to 0"into"on start"block
Copy"set B to 0"twice and click triangle button to choose G and B
Click"Loops"to get block"for index from 0 to 4...do"
Leave it into "forever"and change 4 into 3
232

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents