external interupt to get data from a weigand device (i.e. two data lines; data 0 and data 1 -silly way of doing things but what can i do about it :) -)
"Daniel Young" <Danny-xMhm9eWaPqTpPX/iJGFgnvd9D2ou9A/[email protected]> Mon, 14 Jun 2004 16:21:51 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Ok, so I've read thru the archives and have come to a reasonable solution for getting my event, which is as follows: 'or' the two input lines together onto one external interrupt pin, then wire each separate input line to its own GPIO. My ISR can then check which line raised the interrupt and can receive the data; My problem now is how do I get that info back into java, if my native ISR is reading the data off the port pins, and I then return to java 'RETI' I just cannot think of a way to do this simple thing... Aaargh please help me! Thank you in anticipation of your prompt helpful reply which I know someone out there is just itching to give me! Daniel _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini