This is small information about Interrupts in Arduino.
The Arduino board has two interrupts.
Syntax:
attachInterrupt(interrupt, function, mode);
interrupt 0- Arduino digital pin 2
interrupt 1- Arduino digital pin3
in function give which function to callin mode give HIGH or LOW on which the interrupt need to be activated
Cheers,
Balaji
No comments:
Post a Comment