Hi,
I tried the Interrupts & they work we have to attach to PIN's 2 or 3.
prototype of the call is as given below,
make the pin as INPUT pin before attaching.
attachInterrupt(pin, ISR, mode)
pin: the pin number
ISR: the isr to call upon interrupt.
prototype void isr_name(void);
mode: Galileo supports only edge triggered interrupts as of now.
- RAISING
- FALLING
- CHANGE
Regards
Simba