Quote:
Originally Posted by Chris_Elston
We actually have a situation where we are going to add a sensor, that we think will only be active for 20-24 msecs. I was worried that we need an interrupt to make sure we capture the input condition of the sensor...
|
What kind of signal does the sensor provide? If it's a digital input, consider using a counter to capture the occurrence. The FPGA will detect the signal as quickly as it can do anything, and the robot code can watch for the counter to change value on whatever schedule is appropriate for responding to the signal.