[vc_row][vc_column width=”1/1″][vc_column_text]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.[/vc_column_text][vc_tour][vc_tab title=”Parts List” tab_id=”1393132597-1-49″][vc_column_text]
- 1 x pcDuino v2
- 1 x Linker Base Shield
- 1 x Linker LED
- 1 x Linker Button
- 2 x 20mm cable
[/vc_column_text][/vc_tab][vc_tab title=”Setup” tab_id=”1393132597-2-54″][vc_column_text]We install the Linker base shield onto pcDuino, connect LED module to D3 of pcDuino. and connect Button module to D4 of pcDuino.
[/vc_column_text][/vc_tab][vc_tab title=”Scratch Screen Shot” tab_id=”1393133524975-2-1″][vc_column_text]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[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]
Leave a Reply
You must be logged in to post a comment.