beautypg.com

Elenco Snap Circuits SnapMicro I Deluxe ® User Manual

Page 43

background image

42

PROJECT 9 - Using Serial Terminal with Sertxd

The sertxd command sends a user defined serial string to the computer (at baud rate 4800). This can be

displayed by the included Serial Terminal function under the PICAXE

®

>Terminal drop down menu. The

Serial Terminal can also be automatically opened every time a download takes place by checking the

“Open After Download”

box in the View>Options>Editor drop down menu.

No flow chart is needed in this project since we are only changing the ‘debug’ command to the ‘sertxd’

command. Open project 8 basic program in the editor and change it to the following.

All text must be placed in

quotation marks and

should appear in red

(default color, but may be

changed in program editor

options.)

10 = line feed (LF)

13 = carriage return (CR)

Variables need the # sign

in front of them and will be

displayed in purple.

To open the Terminal window use the PICAXE

®

drop down terminal or press F8 function key. The

terminal window shown on the next page will open.

This manual is related to the following products: