pcDuino team developed a custom version of Scratch for pcDuino. It’s fairly easy to install it. We simply need to type:
sudo apt-get install pcduino-scratch
In this tutorial, we are going to see an example that when the sprite touches the finish line, the LED will start to blink.
Compared to the MIT scratch, the Scratch of pcDuino has a hardware tab, and this makes the hardware programming really easy.
We install the Linker base shield onto pcDuino, connect LED module to D3 of pcDuino. and connect Button module to D4 of pcDuino.
The Scratch used will look as:
The scratch project file can be downloaded from: https://github.com/pcduino/scratch4pcduino_project/blob/master/s4p_lesson3.sb