https://github.com/codeadamca/ev3-touch
A basic example of using Python with the LEGO EV3 touch sensor.
https://github.com/codeadamca/ev3-touch
ev3 ev3dev lego python
Last synced: 3 months ago
JSON representation
A basic example of using Python with the LEGO EV3 touch sensor.
- Host: GitHub
- URL: https://github.com/codeadamca/ev3-touch
- Owner: codeadamca
- Created: 2020-07-20T00:41:15.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T22:18:46.000Z (5 months ago)
- Last Synced: 2025-01-26T23:20:18.304Z (5 months ago)
- Topics: ev3, ev3dev, lego, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LEGO® Mindstorms® EV3 and the Touch Sensor
A Python snippet utilizing the LEGO EV3 touch sensor, the LEGO EV3 Brick and [Pybricks](https://pybricks.com/). [Pybricks](https://pybricks.com/) is the LEGO recommended method of using the LEGO EV3 Brick with Python. See the official [Python for EV3](https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3) LEGO page for more details.
This example activates a motor when the touch sensor is pushed.
***
## Repo Resources
- [Pybricks - Documentation](https://docs.pybricks.com/en/latest/ev3devices.html)