On the P2 there are some PASM instructions to set up and wait for events, and they can almost emulate waitpeq/waitpne. I say almost because IIRC there's a race condition where if the event happens between the set up and the wait then you miss it and/or wait forever. if you know ahead of time that the event isn't coming for a while (e.g. a microsecond) then that's probably not an issue.
Comments
On the P2 there are some PASM instructions to set up and wait for events, and they can almost emulate waitpeq/waitpne. I say almost because IIRC there's a race condition where if the event happens between the set up and the wait then you miss it and/or wait forever. if you know ahead of time that the event isn't coming for a while (e.g. a microsecond) then that's probably not an issue.
@ersmith
Sorry (and thanks) Eric. I had intended to post a "please disregard".
I realised that I need to monitor 6 inputs simultaneously and that looping method is already huge overkill for what I need.
Not a day goes by that FlexBasic fails to put a huge grin on this face.....just amazing
Craig