Thursday, July 1, 2010

Using Arduino Interrupt

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 call
in mode give HIGH or LOW on which the interrupt need to be activated


Cheers,
Balaji