![]() |
Interrupts
Has anyone tried to use the interrupt functionality of the WPILib directly? Let me see if I have this straight:
Also, I was wondering about calling a Relay.Set() function in an interrupt - would that take too long? How would it be possible if the relay was a private member of the class? Thanks! |
Re: Interrupts
Quote:
|
Re: Interrupts
Quote:
Specific question: I just looked at the tInterruptHandler typedef, and I'm wondering what interruptAssertedMask would pass. |
Re: Interrupts
Have you looked at the InterruptibleSensorBase class yet? It is a base class for the DigitalInput class. You can choose to block until the interrupt or register a callback on interrupt (based on which version of RequestInterrupts() you call).
-Joe |
| All times are GMT -5. The time now is 17:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi