Infared Sensor Status - Waveshare Alphabot2 User Manual

For micro:bit
Table of Contents

Advertisement

Alphabot2 for micro:bit User Manual

INFARED SENSOR STATUS

1. Place
if then
block in
2. Replace
true
with
3. Put
Infrared
block to both sides of
4. Place
show string
5. Duplicate and complete the scrip
6. Download the script to micro:bit and test it.
7. After downloading, LEDs of micro:bit will display "A" if obstacle is detected by
both infrared sensors, "L" if obstacle is detected by the left infrared sensor and
"R" if obstacle is detected by the right sensor.
forever
and
block
and
block
43 / 76

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Waveshare Alphabot2

Table of Contents