BS2, SERIN, RFID question
DarylM
Posts: 3
I have the following line of code,
SERIN RXRFID, T2400, 1000, continue_loop, [noparse][[/noparse]WAIT($0A), STR Buffer\10]
I have a circuit feeding the serial RFID from Parallax and "on occasion" the BS2 stamp appears to halt at this location.
If I disconnect the RFID, it will immediatly timeout and resume at continue_loop above.· (plug the RFID in and all works fine)
I have ran debug code on each side of the serin command above and it seems to be stuck on the SERIN command.
this has happend to me twice - with over 500 runs of the code.
so, my specific questions is, under what circumstances will the BS2 not timeout on the SERIN command?
SERIN RXRFID, T2400, 1000, continue_loop, [noparse][[/noparse]WAIT($0A), STR Buffer\10]
I have a circuit feeding the serial RFID from Parallax and "on occasion" the BS2 stamp appears to halt at this location.
If I disconnect the RFID, it will immediatly timeout and resume at continue_loop above.· (plug the RFID in and all works fine)
I have ran debug code on each side of the serin command above and it seems to be stuck on the SERIN command.
this has happend to me twice - with over 500 runs of the code.
so, my specific questions is, under what circumstances will the BS2 not timeout on the SERIN command?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
any idea how I could trap for this in code? I have played with the timeout value a little but I'm open to ideas. Basically just a standard connected RFID circuit, reading a card that is in a holder (ie. a stationary position) as opposed to being swiped.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
thanks for the help!