Table Of Contents - Waveshare Alphabot2 User Manual

For micro:bit
Table of Contents

Advertisement

Alphabot2 for micro:bit User Manual
CONTENT
Preface .......................................................................................................................................................... 5
micro:bit ............................................................................................................................................... 5
Notes ..................................................................................................................................................... 6
Chapter 1 LED lights ................................................................................................................................. 8
JavaScript Blocks editor .................................................................................................................. 8
Blocks ............................................................................................................................................ 9
Lighting LEDs ........................................................................................................................... 10
Heart Beating ................................................................................................................................... 13
Display Text ....................................................................................................................................... 14
Chapter 2 Buttons ................................................................................................................................... 15
Pressing .............................................................................................................................................. 15
Pressing 2 .......................................................................................................................................... 16
Chapter 3 Sensors ................................................................................................................................... 18
Temperature Sensor ...................................................................................................................... 18
Accelerometer .................................................................................................................................. 19
Magnetometer ................................................................................................................................. 21
Light sensor ...................................................................................................................................... 23
Chapter 4 Music ....................................................................................................................................... 25
Play a melody ................................................................................................................................... 26
2 / 76

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents