mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-28 04:07:46 +00:00
docs/examples: expanded color sorter content
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
Color Sorter
|
||||
=====================
|
||||
|
||||
This example program for the color sorter will wait for you to hold a colored brick over it's light sensor. After it has detected the color, add the brick to the tray. When the tray is full or when you press the center button (enter), the robot will start distributing the colored bricks in neatly sorted stacks.
|
||||
|
||||
`Building instructions <https://le-www-live-s.legocdn.com/sc/media/lessons/mindstorms-ev3/building-instructions/ev3-model-core-set-color-sorter-c778563f88c986841453574495cb5ff1.pdf>`_ are on the LEGO Education website.
|
||||
|
||||
.. figure:: ../images/color_sorter.jpg
|
||||
:width: 90 %
|
||||
:alt: overview
|
||||
:align: center
|
||||
|
||||
EV3 Core Set Color Sorter
|
||||
|
||||
.. literalinclude:: ../../../examples/ev3/color_sorter/main.py
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
Reference in New Issue
Block a user