Electronics > Microcontrollers

Interrupts on PICs

(1/2) > >>

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

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod