ArduinoPWCT 1.0 First Sesbania
_____________________________________________________________________________________
Table of contents
1 - Introduction
2 - Implementation steps
3 - Final Steps Tree
4 - Application during the runtime
1 - Introduction
In this lesson we are going to use pinMode component to display the number (1) on a display screen
2 - Implementation Steps
Fig. (1) Goal Desginer - Steps Tree
Select the step (The First Step - Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Structure)
3 - Select the component (Setup)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (Setup)
Note : Stop typing when you see the required component is selected
Fig. (2) Component Browser � Select the component (Setup)
After selecting the component click Ok or press ENTER
Fig. (3) Goal Desginer - Steps Tree
Select the step (The First Step - Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Structure)
3 - Select the component (Loop)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (Loop)
Note : Stop typing when you see the required component is selected
Fig. (4) Component Browser � Select the component (Loop)
After selecting the component click Ok or press ENTER
Fig. (5) Goal Desginer - Steps Tree
Select the step (Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Digital)
3 - Select the component (pinMode)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (pinMode)
Note : Stop typing when you see the required component is selected
Fig. (6) Component Browser � Select the component (pinMode)
After selecting the component click Ok or press ENTER
Fig. (7) Interaction page - Set the properties and enter the required data as in the image above
Fig. (8) Goal Desginer - Steps Tree
Select the step (Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Digital)
3 - Select the component (pinMode)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (pinMode)
Note : Stop typing when you see the required component is selected
Fig. (9) Component Browser � Select the component (pinMode)
After selecting the component click Ok or press ENTER
Fig. (10) Interaction page - Set the properties and enter the required data as in the image above
Fig. (11) Goal Desginer - Steps Tree
Select the step (Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Digital)
3 - Select the component (digitalWrite)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (digitalWrite)
Note : Stop typing when you see the required component is selected
Fig. (12) Component Browser � Select the component (digitalWrite)
After selecting the component click Ok or press ENTER
Fig. (13) Interaction page - Set the properties and enter the required data as in the image above
Fig. (14) Goal Desginer - Steps Tree
Select the step (Start Here)
We will start now new interaction process to generate new steps to our steps tree.
The slow way (Using Mouse):
1 - Click Interact to open the components browser
2 - Select the domain (Digital)
3 - Select the component (digitalWrite)
The fast way (Using Keyboard shortcuts):
1 - Get the component using its name by typing (digitalWrite)
Note : Stop typing when you see the required component is selected
Fig. (15) Component Browser � Select the component (digitalWrite)
After selecting the component click Ok or press ENTER
Fig. (16) Interaction page - Set the properties and enter the required data as in the image above
Fig. (17) Goal Desginer - Final Steps Tree
3 - Final Steps Tree
The First Step - Start Here
VOID Setup
Start Here
12 : pinMode = Output
13 : pinMode = Output
12 : digitalWrite (High)
13 : digitalWrite (High)
End Of Setup
VOID Loop
Start Here
End Of Loop
4 - Application during the runtime