EasyManua.ls Logo

Texas Instruments Voyage 200 - The Chat Program

Texas Instruments Voyage 200
1008 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Connectivity 725
The “Chat” Program
The “Chat” ProgramThe “Chat” Program
The “Chat” Program
The following program uses
GetCalc and SendCalc. The program sets up two loops that
let the linked devices take turns sending and receiving/displaying a variable named
msg.
InputStr lets each user enter a message in the msg variable.
:Chat()
:Prgm
:ClrIO
:Disp "On first unit to send,","
enter 1;","On first to receive,"
:InputStr " enter 0",msg
:If msg="0" Then
: While true
: GetCalc msg
: Disp msg
: InputStr msg
: SendCalc msg
: EndWhile
:Else
: While true
: InputStr msg
: SendCalc msg
: GetCalc msg
: Disp msg
: EndWhile
:EndIf
:EndPrgm
Ê
Ë
Ì
Í
Î
Ï

Table of Contents

Other manuals for Texas Instruments Voyage 200

Related product manuals