This button is a
special step button that
allows you to jump over a
part of the program such as
a gosub or for-next routine.
Sometimes a gosub or
for-next routine will take
many clicks of the mouse to
get through the routine using
Step Into. This allows you to
jump over it and move on to
the command lines after
Figure 3. Microbric Viper Robot.
Figure 5. Four Wheel Viper Robot.
This is another special step button that allows
you to leave a gosub routine. It’s handy for looking at part
of a gosub routine and then lets you leave when you have
seen enough. Clicking this will jump you to the command
line after the end of the gosub routine.
This option allows you to run the program in the
Nano at full speed (minus a minor delay for the debugger
block of code) without stopping to check for variables or
other data. The green command line indicator will not step
through each command. It will just stay at the last line
executed before pressing the Run icon.
Reset is used to start the program at the
beginning. Any information stored in the variables is not
erased. This is a simple way to start at the beginning or to
see how your program will react if a hardware reset were
Run To Cursor
Clicking on any command line in the program
will produce a blinking cursor. If you then click on the “Run
To Cursor” button, the program will execute in Run mode
until the cursor line is encountered. The program execution
will stop at that command line.
The Pause button will halt the program at the
current command line. To resume execution, the Run or
Animate button is pressed. The Pause button is handy to
stop the Run or Animate mode so variables and other data
can be viewed.
This control button will toggle the Variables
window open or closed. When it’s selected, a separate
window will open and the variables defined in your
program will automatically be listed. The values of those
variables will be displayed in HEX, Decimal, and Binary
formats. (Make sure Auto Update is selected so these are
updated after every command).
This is the button you press to step through
your program command by command line using your PC
Figure 4. Microbric Connection Scheme.
SFR stands for Special Function Registers. These
are special internal locations within the Nano chip that
indicate how the internal program is responding
to modifying the internal registers. This is really
a function for the advanced user but can be
handy for understanding how the Nano
program controls the internal features.
This feature shows all the Random
Access Memory in the Atom chip/module, not
just the variables. Again, this is handy for the
advanced user to see the inner workings of the
Show Gosub Stack
This displays the Gosub Stack.
The Gosub Stack is the list of location pointers
74 SERVO 04.2009