This is for a Lego Boost. For it to work, you need the following conditions: -A Lego set with a manual spinning function for a gear/windmill -Motor C (the extra one) to be plugged in to Port C -The Brick Color Sensor thingy to be plugged into Port D
----Controls---- Green Brick seen by Sensor: Turns on spin at the entered speed Red Brick seen by Sensor: Turn off spinning (shutdown order) Spacebar: Nothing (unknown as to why, but was another shutdown but doesn't work, attempting to fix) R/Yellow Brick seen by Sensor: Experimental RGB light pattern (work in progress) --------Notes------ There is an emergency auto-shutdown feature, should the Lego Boost pieces keeping Motor C or the windmill (from the Lego Minecraft set The Windmill Farm #21262) break.