
Originally Posted by
The Master
ahh,
the code im using now is
serin2 porta.2,16468,2000,nocmd,[wait(250,address),cmd,val]
can i tell it to do something if it gets 251 and anything *aswell*? if not then i have a backup plan but i would rather do it that way
If I understand what you want the answer is yes. After the TIMEOUT for the 250 ends you could have it WAIT for 251.
Code:
serin2 porta.2,16468,2000,nocmd,[wait(250,address),cmd,val]
serin2 porta.2,16468,2000,nocmd,[wait(251,?????),cmd,val]
serin2 porta.2,16468,2000,nocmd,[wait(252,?X?X?X),cmd,val]
Something like that 
But this will eat up speed. Maybe decrease the TIMEOUT?
Bookmarks