EasyManua.ls Logo

SunFounder picar-x - EzBlock Cliff Detection Project

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder picar-x
5.13 Cliff Detection
This project will use the grayscale module to prevent the PiCar-X from falling off a cliff while it is moving freely
around your home. This is an essential project for houses with staircases.
TIPS
The grayscale module will be performing the same operation multiple times. To simplify the program, this project
introduces a function that will return a list variable to the do forever block.
EXAMPLE
Note:
You can write the program according to the following picture, please refer to the tutorial: How to Create a New
Project?.
Or find the code with the same name on the Examples page of the EzBlock Studio and click Run or Edit
directly.
112 Chapter 5. Play with Ezblock

Related product manuals