phyCORE-ADuC812 QuickStart Instructions
68
© PHYTEC Meßtechnik GmbH 2002 L-462e_2
4.7
Single Stepping and Watch Window
•
Click on the Step Into
icon to enter the ‘wait’ function.
•
The Watch window automatically shows the value of the two
local variables; delay and i. In order to change the number base
from hexadecimal to decimal, right-click on the variable you want
to change.
•
Click Step Into several times and watch the value of i count up.
•
As you can see in the source code, the for{} loop will end if i
becomes equal to delay. To leave the wait function, change the
value of i by typing i=59996 in the command line and pressing
<Enter>. Now repeat clicking on Step Into until you leave the
wait function.
•
Click in the source code line blink++ and choose Run to Cursor
line from the debug toolbar. Your program will be executed until
it reaches this line.
•
Notice that the LED D3 on the Development Board is off now and
the new status of the LED is shown in the Serial window.
Содержание phyCORE-ADuC812
Страница 78: ...phyCORE ADuC812 QuickStart Instructions 74 PHYTEC Meßtechnik GmbH 2002 L 462e_2 ...
Страница 84: ...phyCORE ADuC812 QuickStart Instructions 80 PHYTEC Meßtechnik GmbH 2002 L 462e_2 ...
Страница 86: ...Published by PHYTEC Meßtechnik GmbH 2002 Ordering No L 462e_2 Printed in Germany ...