andy>>Ok, to recap and hopefully stop pestering you guys this is what I assume is correct:<<
Hey, keep on pestering us...This is what fun is all about. learning, helping, communicating, and enjoying.
Yes, you are correct. Now, if you want to control a bunch of chips, the same principal applies... for example
Transmitter chip:
Main:
.......
Gosub Loop:
goto Main
Loop:
SEROUT pinx,2400,"Chip3","Y"
if (pinRx <>1 goto Loop 'this is the pin to confirm received.
Serout Pinx,2400,"Hello World! this is Chip3"
Loop2:
Serout Pinx2400, Chip5,"Y"
If pinRx<>1 goto Loop2 'this is the pin to confirm received
Serout Pinx2400, "Howdy! my chip 5 is working\"
Return
Your receiver 3 is as follows:
Loop1:
Serin Pinx,2400,Chip3,Var
If Var <>"Y" then Loop1
PinRx=1 'send a high to the transmitter to tell it to send data fAST!
while val<>"\"
Serin Pinx,2400,val
LCDout Val
Wend
PinRx=0 ' don't keep that pin on! other receivers may need it
Your other receivers are exactly the same...Just change teh second line down from
Serin Pinx,2400,Chip3,Var
to
Serin Pinx,2400,Chip5,Var (for receiver 5)
Granted I did all of this in Psuedo code. But if you put the correct punctuation in it, it should come close to running. like putting the "N" before the 2400 to make it N2400, or whatever you like.
I am uploading a picture for you....don't mind my professional drawing...The chips are how mine look after a weeks worth of use <g>.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks