afb
Member
From the documentation I note that the input ports are "checked repeatedly" during PAUSE commands. Does anyone know how often this is please ? - I wish to check for the occurence of a 5mSec pulse - but what's the betting that during a PAUSE command interrupts are checked at the 50Hz rate used for the SERVO command! My code is running at 32Mhz if that has any bearing on it.
My pause is of the order of 13 mSec so I'm guessing if my pessimistic guess of a 20mSec checking rate is true, a workaround would be to implement a series of pauses of say 2 or 3 mSec each such that the inter-command interrupt check finds some portion of the 5mSec interrupt pulse.
My pause is of the order of 13 mSec so I'm guessing if my pessimistic guess of a 20mSec checking rate is true, a workaround would be to implement a series of pauses of say 2 or 3 mSec each such that the inter-command interrupt check finds some portion of the 5mSec interrupt pulse.
Last edited: