C Chiwable New Member Feb 20, 2015 #1 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
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
Ian Rogers User Extraordinaire Forum Supporter Most Helpful Member Feb 20, 2015 #2 More info needed.... What processor??? There are many ways to do this..... Most micro's have IOC ( Interrupt on change ) on many pins...
More info needed.... What processor??? There are many ways to do this..... Most micro's have IOC ( Interrupt on change ) on many pins...
Nigel Goodwin Super Moderator Most Helpful Member Feb 20, 2015 #3 Why the urgent desire to use interrupt for such a simple (and VERY slow task)?, polling would normally be used instead.
Why the urgent desire to use interrupt for such a simple (and VERY slow task)?, polling would normally be used instead.
C Chiwable New Member Feb 21, 2015 #4 thanks guys. using pic16f877. i would be glad to learn about polling
Nigel Goodwin Super Moderator Most Helpful Member Feb 21, 2015 #5 Chiwable said: thanks guys. using pic16f877. i would be glad to learn about polling Click to expand... Check my tutorials for assembler examples, or Ian's C versions here: https://www.electro-tech-online.com/articles/nigel-goodwins-tutorials-in-c.467/
Chiwable said: thanks guys. using pic16f877. i would be glad to learn about polling Click to expand... Check my tutorials for assembler examples, or Ian's C versions here: https://www.electro-tech-online.com/articles/nigel-goodwins-tutorials-in-c.467/