by NewBreedWarrior » Wed Sep 20, 2006 7:06 am
by NewBreedWarrior
Wed Sep 20, 2006 7:06 am
I pulled my Parallax, Inc Basic stamp Programming Manual out... was lookingaround I havent tried any of this who knows maybe it will work maybe not....qoute.... Flow-control time out solves one problem but can creat another__if the reciver isn't conected, Serout may never never get permission to send. The prgram will be stuck in Serout indefinitely. To prevent this, Serout allows you to specify how long it should wait for permission, from 0 to 65535 ms. If the specified time passes without permission to send, Serout aborts, allowing the program to continue at tlabel. Here's the previous example (just the Sender code) with a 2.5-second timeout:
Serout1\0, 16468,2500, noFlow["HELLO!"]
'...instructions executed after a successful Serout
stop
noFlow:
'if Serout times out waiting for the Flow-control permission,
'it jumps to this label in the program.
Ok now who knows..may may not be usefull..atleast it's something....my RN-1 is gimped right now from a blown #3 servo.....
I pulled my Parallax, Inc Basic stamp Programming Manual out... was lookingaround I havent tried any of this who knows maybe it will work maybe not....qoute.... Flow-control time out solves one problem but can creat another__if the reciver isn't conected, Serout may never never get permission to send. The prgram will be stuck in Serout indefinitely. To prevent this, Serout allows you to specify how long it should wait for permission, from 0 to 65535 ms. If the specified time passes without permission to send, Serout aborts, allowing the program to continue at tlabel. Here's the previous example (just the Sender code) with a 2.5-second timeout:
Serout1\0, 16468,2500, noFlow["HELLO!"]
'...instructions executed after a successful Serout
stop
noFlow:
'if Serout times out waiting for the Flow-control permission,
'it jumps to this label in the program.
Ok now who knows..may may not be usefull..atleast it's something....my RN-1 is gimped right now from a blown #3 servo.....
In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.