how to generate interrupt in mikroc for multiple sensor inputs

Status
Not open for further replies.

Chiwable

New Member
hi all. i am trying to write a program to send an sms whenever one of six windows on a house is opened. the sending of sms is not a problem but how to use interrupts such that when one of the input pin out of six goes high can u help pliz
 
More info needed.... What processor???

There are many ways to do this..... Most micro's have IOC ( Interrupt on change ) on many pins...
 
Why the urgent desire to use interrupt for such a simple (and VERY slow task)?, polling would normally be used instead.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…