Hello,
I am trying to read a DTMF module with an interrupt on a 18F4520.pin B4. I
found something in the examples. Is thissufficient and correct? Direct
reading of portD_low is working correct.
-- choose pins to use for int on change
const byte int_on_change_pins[] = {"B",4}
include interrupt_on_change
int_on_change_init()
-- interrupt for pin B4
procedure int_on_change_callback_0() is
pragma inline
delay_1mS(400)
DTMF = portD_low
end procedure
regards
Hans
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/2c14577b-e76e-4e75-81b6-3f3410d3680dn%40googlegroups.com.