Elenco Snap Circuits SnapMicro ® I Standard User Manual

Page 45

Advertising
background image

44

Each time used, go to Options and set up as shown here;

Make sure the Baud Rate is set to
4800.

Each time the S2 pushbutton is
pressed the micro-controller records
the event and then transmits the
message shown on the Serial
Terminal.

Notice how much faster this
message transmits compared to the
debug information. Try and press the pushbutton fast
enough to miss an event. To make the transmission even
faster, shorten the data to something like “

S1=

”, #

b1

, “

times

”, 13, 10.

The first line was sent when micro-controller was first turned
on after the terminal window was running. The second line in
the program was transmitted when the switch was first
pressed.

Data can also be stored and not transmitted until required or
asked for by main computer.

The next project will use the terminal to send information to
the micro-controller, process the information, and produce an
output or result of the input.



Advertising