Project 9 - using serial terminal with sertxd – Elenco Snap Circuits SnapMicro ® I Standard User Manual

Page 44

Advertising
background image

43

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 ch

anging 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.

Advertising