https://github.com/codeadamca/ev3-colour
A basic example of using Python with the LEGO EV3 colour sensor.
https://github.com/codeadamca/ev3-colour
ev3 ev3dev lego python
Last synced: 9 months ago
JSON representation
A basic example of using Python with the LEGO EV3 colour sensor.
- Host: GitHub
- URL: https://github.com/codeadamca/ev3-colour
- Owner: codeadamca
- Created: 2020-07-20T01:39:47.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T22:17:51.000Z (11 months ago)
- Last Synced: 2025-01-26T23:20:08.175Z (11 months ago)
- Topics: ev3, ev3dev, lego, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LEGO® Mindstorms® EV3 and the Colour Sensor
A Python snippet utilizing the LEGO EV3 colour 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 changes the colour of the EV3 Brick based on the colour sensor.
> The documentation for Pybricks is really helpful:
> [https://docs.pybricks.com/en/latest/ev3devices.html](https://docs.pybricks.com/en/latest/ev3devices.html)
---
## Repo Resources
- [Pybricks](https://pybricks.com/)
- [Python for EV3](https://education.lego.com/en-us/support/mindstorms-ev3/python-for-ev3)