(sorry if this double posts, I got an error the first time and it didn't seem to go through)
I'm using an 18f452.
I already have INT_EXT set to trigger on H_TO_L using EXT_INT_EDGE() but it seems that INT_EXT1 is set by default to trigger on L_TO_H. How would I go about changing INT_EXT1 to trigger on H_TO_L?
Is there a command like EXT_INT_EDGE() that I am missing?
Thanks
Ttelmah Guest
Posted: Mon Sep 12, 2005 10:31 am
Have you read the manual entry for 'ext_int_edge'?.
It supports a second variable, on chips that have more than one interrupt. So you just code:
EXT_INT_EDGE(0, H_TO_L);
EXT_INT_EDGE(1, H_TO_L);
If the first value is omitted it sets the value for INT0.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum