Skip to content

A basic example of using Python with the LEGO EV3 ultrasonic sensor.

Notifications You must be signed in to change notification settings

codeadamca/ev3-ultrasonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEGO® Mindstorms® EV3 and the Ultrasonic Sensor

A Python snippet utilizing the LEGO EV3 ultrasonic sensor, the LEGO EV3 Brick and Pybricks. Pybricks is the LEGO recommended method of using the LEGO EV3 Brick with Python. See the official Python for EV3 LEGO page for more details.

LEGO Instructions

This example uses the EV3 ultrasonic sensor to measure the distance of an object in front of the sensor. This example will move both motors forward until something is blocking it's path.


Repo Resources

About

A basic example of using Python with the LEGO EV3 ultrasonic sensor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages