An open API service indexing awesome lists of open source software.

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.

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)