Sending Messages

When a string is sent that does not start with a value or a percent sign (and a few other restrictions later on), StampPlot will treat it as a message and list it in the message window. As always, the line must end with a carriage return.

V Enter and run the following program.

'Sending messages val VAR byte

'Sending messages val VAR byte

DO

FOR val

= 0 TO 255

DEBUG

"the value is",

, DEC val, CR

PAUSE

100

NEXT

LOOP

Of course analog, binary and messages may be mixed in the same program, but each requires their own line ending with a cr.

Solar Power

Solar Power

Start Saving On Your Electricity Bills Using The Power of the Sun And Other Natural Resources!

Get My Free Ebook


Post a comment