5.3.6 Describe the Main Function (For Operation Check)
In the main function (test.c source file), describe the program to turn on the LED (LED1 on the M3A-HS19 is lit).
• Open the source file C:¥WorkSpace¥test¥test¥test.c with an editor, etc.
• Describe the following program to turn on the LED.
(1) Create a new load module
Select [Build] menu -> [Build] to execute the build processing.
(2) Create a new load module (test.abs)
If a new load module "test.abs" has been created, the hardware setup file addition or modification is now completed.
(3) Execute the program
Download the load module to execute the program. LED1 on the M3A-HS19 CPU board is now lit.
Rev. 1.00 July 11, 2008
REJ10J1328-0100
Creating and Running a New Project Workspace
5.3.6 Describe the Main Function (For Operation Check)
Figure 5.3.20 Program to turn on LED
5-20