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

Re: Intel Galileo interrupt pins and timers

$
0
0

Hi,

 

Yeah, saw that, but I'm using CHANGE so I thought it would work. Anyway, tried to change to this:

 

attachInterrupt(INT_PIN, intHandler, FALLING);

 

and it still doesn't work.

 

Note: Looking at the code for attachInterrupt(), one must specify a pin as the first parameter, not an interrupt-number as on Arduino Uno:

 

void attachInterrupt(uint32_t pin, void (*callback)(void), uint32_t mode)


Viewing all articles
Browse latest Browse all 20046

Trending Articles