In this post, we explain how to apply the patch to the version 2014-07-21 of pcDuino3 image in order to use LEGO® Education WeDo™ robotics kit with Scratch for pcDuino.
The driver can be downloaded from https://s3.amazonaws.com/pcduino/Images/scratchforpcduino/so.WeDoPlugin.
Please close Scratch for pcDuino if you have it open. Copy it over to the destination directory using:
$sudo cp so.WeDoPlugin /usr/lib/scratch/plugins/
Then we open Scratch for pcDuino again. We need to show the motor block by clicking the menu under ‘Edit’.
To test the motor, the script is fairly simple:
Now let’s look the setup:
After we press the green flag, we can see that the motor is on!
Leave a Reply
You must be logged in to post a comment.