Keyestudio Micro:bit Mini Smart Robot Car V2 Instructions Manual page 104

Table of Contents

Advertisement

Programming Thinking
Set the control pin of left infrared obstacle avoiding sensor to P2; the right one set to P11.
1
Measure the HIGH/LOW level of both sensors' control end. Obstacle detected, signal end LOW; no
2
obstacle, signal end HIGH.
Judge whether there is obstacles according to the level feedback of sensor's signal end; make the
3
micro:bit LED matrix show the patterns.
Source Code
78

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Micro:bit Mini Smart Robot Car V2 and is the answer not in the manual?

Table of Contents

Save PDF