I am trying to use an external interrupt on the ZPUino to report status of an 8-bit counter via the USB port. I have the code working on a Arduino Mega. I want to port the code over to a Papilio One 250 and utilize the FPGA to handle some external output signals.
Basically I am looking for the equivalent to the following Arduino code:
attachInterrupt(0, capture_bearing, RISING);
Any help would be greatly appreciated.