Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Galileo Interrupts

$
0
0

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.

  1. RAISING
  2. FALLING
  3. CHANGE

 

Regards

Simba


Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>