beautypg.com

Debug – Elenco Snap Circuits SnapMicro I Deluxe ® User Manual

Page 41

background image

40

debug

Syntax:

DEBUG {var}

- Var is an optional variable value (e.g. b1).
Function:

Display variable information on computer in Debug Window

The debug command uploads the current variable values for all the

variables via the download cable to the computer screen. This enables

the computer screen to display all the variable values in the micro-

controller for debugging purposes.

Note that the debug command uploads a large amount of data and so

significantly slows down any program loop.

1. Make the flowchart shown on left.

2. Use PICAXE drop down menu to convert to basic

3. Edit program for clarity.

4. Go to next page for notes on running the program.

This manual is related to the following products: