Color Sorter ===================== This example program for the color sorter (:numref:`fig_color_sorter`) lets you scan colored Technic beams using the Color Sensor. 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. You can find building instructions for the color sorter on the `LEGO Education website `_. .. _fig_color_sorter: .. figure:: ../images/color_sorter.jpg :width: 90 % :alt: color_sorter :align: center Color Sorter .. literalinclude:: ../../examples/color_sorter.py