7 Debugging
7.3 Debugging via Telnet Communication
7-7
HW1484528
HW1484528
7.3.2 Example Usage of Printf()
The following is an example of using the printf() function. This sample
displays the counter value of execution while looping.
<Operation>
1. Create the following “sample.c” with MotoPlus IDE to create
“sample.out”.
2. Install “sample.out” to the YRC1000micro. (Refer to chapter 5
“Installation and Start-up of Application Program” .)
3. Install the created “MotoPlusApl.out” to the YRC1000micro. (Refer to
chapter 5 “Installation and Start-up of Application Program” .)
4. Turn ON the YRC1000micro, and confirm that the YRC1000micro
started successfully.
5. Connect the YRC1000micro with the PC via Telnet.
6. The following window appears.