InterruptSource class - #9
orangelight
commented
Jan 11, 2017
|
#8 the owner said the Java and C++ versions will be updated soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have tried to use this class with the 2017 control system, and I'm encountering an error that I'm not sure how to solve.
This piece of code is throwing two errors in Eclipse: First it asks to implement several required methods from the interface. Easy enough, though I'm not sure what effect it would have on the code.
The second error is on the
initDigitalPort(function, which I assume sets the digital input for the interrupt and then enables it. This function seems to be missing from the 2017 WPIlibj implementation ofDigitalSource. Not only is it missing, but I can't seem to find any mention of any way to set the interrupt pin throughDigitalSourceor any of its parent classes. I feel like this is an oversight, though it would be greatly appreciated if someone could point me in the right direction to fixing this.