View Single Post
  #3   Spotlight this post!  
Unread 10-02-2015, 20:55
ericalbers ericalbers is offline
Registered User
no team
 
Join Date: Feb 2015
Location: earth
Posts: 4
ericalbers is an unknown quantity at this point
Re: How do you get interrupt when digital input is set

Thanks, actually the private part is what was reallly killing me, I just could not get the thing to be happy I had the same code...

testinput =new DigitalInput(0);


testinput.requestInterrupts(new InterruptHandlerFunction<Object>()
{

@Override
public void interruptFired(int interruptAssertedMask, Object param)
{

}
});

I just couldn't get it to like the interruptFired no matter how I set it up...the base class having an error explains it though
Thanks
Reply With Quote