Electronics > Microcontrollers
Interrupts on PICs
deephaven:
Are there any PICS in the 16/18/24 range that have LEVEL sensitive interrupts rather than edge sensitive ones?
PeterG:
The only way you could achieve this is with the analog input. Digital inputs cant be used for this purpose.
You may need to poll the analog input.
Regards
dimlow:
I better way would be to use the comparator of a pic, see here http://ww1.microchip.com/downloads/en/DeviceDoc/41215c.pdf
They have interrupts and that would give you your level interrupt
PeterG:
Didn't think of those Dimlow.
Regards
Mechatrommer:
still you need an external analog Vref, except simpler (2 resistors?).
Navigation
[0] Message Index
[#] Next page
Go to full version