micro:bit and maqueen robot code. Fender can avoid obstacles, his face indicates what he is up to:
- Happy face moving forward
- Confused face looking for a new position
- Sad face exception occured
The LED color indicates how far an obstacle is:
- Red obstacle close will need to look for a new direction
- Orange approaching an obstacle
- Green all good carry on
You either copy and paste the fender.py code into an online editor or use uflash after cloning the repo. The following command should work:
uflash fender.py