User Guide
67
Calibration
Run light
following
program
Start
Interrupt
Y
End
Run light follower
calibration function
Light following
subfunction
Detect obstacles
avoid_flag == 2
If an obstacle
detected, move
backwards
Else
If no obstacle found,
keep following light
avoid_flag == 1
If close to an
obstacle, turn away
N