ArduinoPWCT
Display number (1) on a 7SEG-MPX1-CC screen using pinMode and digitalWrite

 

 

 

 

 

 

 

ArduinoPWCT 1.0 First Sesbania
Waseem Salem El-Mofty <waseem_m_s@hotmail.com> 2014
syria

_____________________________________________________________________________________

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

s1.JPG

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

s2.JPG

Fig. (2) Component Browser � Select the component (Setup)

After selecting the component click Ok or press ENTER

s3.JPG

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

s4.JPG

Fig. (4) Component Browser � Select the component (Loop)

After selecting the component click Ok or press ENTER

s5.JPG

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

s6.JPG

Fig. (6) Component Browser � Select the component (pinMode)

After selecting the component click Ok or press ENTER

s7.JPG

Fig. (7) Interaction page - Set the properties and enter the required data as in the image above

s8.JPG

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

s9.JPG

Fig. (9) Component Browser � Select the component (pinMode)

After selecting the component click Ok or press ENTER

s10.JPG

Fig. (10) Interaction page - Set the properties and enter the required data as in the image above

s11.JPG

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

s12.JPG

Fig. (12) Component Browser � Select the component (digitalWrite)

After selecting the component click Ok or press ENTER

s13.JPG

Fig. (13) Interaction page - Set the properties and enter the required data as in the image above

s14.JPG

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

s15.JPG

Fig. (15) Component Browser � Select the component (digitalWrite)

After selecting the component click Ok or press ENTER

s16.JPG

Fig. (16) Interaction page - Set the properties and enter the required data as in the image above

s17.JPG

Fig. (17) Goal Desginer - Final Steps Tree

s18.JPG

s19.JPG

s20.JPG

s21.JPG

s22.JPG

s23.JPG

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