Hello Mazlan,
M>>Is there any limited number of pics can be connected to all the tx and rx pin? How about the 230 pics? It's ok?<<
I have a theory...(but haven't checked it out, because of no situation that is needed).
With the Serin command, and the "ID" letters, you should be able to control as many as you want, and communicate back and forth very easily.
For example:
ChipNumber[4] var byte
Loop:
some kind of interupt gosub talk
Goto Loop
Talk
ChipNumber="ZZ00";
Serout Pin1,T2400,ChipNumber,Val.
Serin Pin2,T2400,"ZZ01",Val.
gosub routine
etc. etc. ZZ00 is chip 1 ZZ01 is chip 2 etc...
return
As soon as chip is activated, you can jump to a subroutine
to transfer data with the same principal.
routine:
while Val <> endof transmission
Serin Pin2,"TZZ",Val
do something with Val
end while
return
You can actually have chips talking back and forth to each other similar to a eithernet situation.
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