• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeScratchFishing Reminder (Scratch for pcDuino)
Previous Next

Fishing Reminder (Scratch for pcDuino)

Posted by: admin , May 6, 2014

[vc_row][vc_column width=”1/1″][vc_tour][vc_tab title=”Introduction ” tab_id=”1397184600-1-56″][vc_column_text]The cat is fishing by the river. When there’s a fish touching the red line, the red LED will blink ,it prompts that the cat needs to pull the pole quickly . CAT-2[/vc_column_text][/vc_tab][vc_tab title=”Part list” tab_id=”1397184600-2-51″][vc_column_text]1  x  pcDuino

1  x  [bigcommerce link=”/base-shield-of-linker-kit-for-pcduino-arduino/” target=”_blank”] Linker base shield[/bigcommerce]

1  x  [bigcommerce link=”/20-cm-cable-for-linker-kit/” target=”_blank”]Linker cable[/bigcommerce]

[/vc_column_text][/vc_tab][vc_tab title=”Preparation” tab_id=”1397184718092-2-1″][vc_column_text]1. First install the Linker base shield into the pcDuino, and then connect the RED LED Module with the Linker cable  as the diagram.linker base shield

2. Draw  the background of the river

First click the stage, then click the Backgrouds, last click the Edit. As the diagram

stage

Notice: It is better for us to using the same color for the water

The river3. Import the roles

First click the选择动物的按钮, choose the cat1-a

0choose the role

Then click Edit, draw the fishing rod for the cat

1Firt Edit the cat 2 draw the hook for the cat3cat with the hookThen input the three fishes.

导入3条鱼的角色

[/vc_column_text][/vc_tab][vc_tab title=”Set the script for the fishes” tab_id=”1397184719321-3-8″][vc_column_text]Choose the Sprite 2, and click the script, enter the interface as the following.

There 9 modules on the left, you can choose the steps as the following diagram from the modules, such as control, motion and so on. You can have a try to click the modules on the left until you find the modules as the following,

set the fish

Copy the script to the Sprite 3 and Script 4.[/vc_column_text][/vc_tab][vc_tab title=”Result” tab_id=”1397191433315-4-8″][vc_column_text]Click the 旗帜, you will see the fish moving in the river,  they will turn around when the fishes are touching the blue boundary. And when there’s a fish touching the red line, the red LED will blink, it prompts that the cat needs to pull the pole quickly .

CAT-2[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Scratch

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors