This is a Python script and setup instructions for controlling Lego Power Functions blocks from the Scratch programming environment. You can find pictures and a more extensive description in an IEEE ...