Color Sorter ============ This example project makes the Color Sorter scan colored Technic beams using the :class:`ColorSensor `. Scan the colored beams one by one and add them to the tray. A beep confirms that it has registered the color. When the tray is full or when you press the center button, the robot will start distributing the Technic bricks by color. .. rubric:: Building instructions Click `here`_ to find all building instructions for the Core Set Models, or use `this link`_ to go to the Color Sorter directly. .. _fig_color_sorter: .. figure:: ../images/color_sorter.jpg :width: 80 % :align: center Color Sorter .. rubric:: Example program .. literalinclude:: ../../../pybricks-projects/official_models/ev3/education_core/color_sorter/main.py .. _here: https://education.lego.com/en-us/support/mindstorms-ev3/building-instructions#building-core .. _this link: https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-model-core-set-color-sorter-c778563f88c986841453574495cb5ff1.pdf