Creating a Traffic Light in MicroC : Tutorial Setup

Tutorial Setup

Prior to starting the exercises, you must set up your system and create a project within Rational Statemate following these steps:

1.
2.
a.
From Windows select Start > IBM Rational > Rational Statemate <version>.
b.
From UNIX select $STM_ROOT/run_stmm.bat.
The Rational Statemate Main windows opens.
3.
Select File > New Project. The Create New Project window opens.
Create New Project
4.
Note:

Databank - <path>\stm_projects\traffic_light.db

Name - TRAFFIC_LIGHT

OS Implementation - MAINLOOP_SC

Note:
5.
Click OK to create the project. The Open Project window opens.
6.
Click OK to open the project.
7.
8.
Create a Workarea for the project by typing <path>\stm_projects\traffic_light.wa in the “Workarea:” field. See the figure.
Open Project Window
9.
Click OK. A Question window displays asking if you want to create the Workarea.
10.
Click Yes. The work area opens.