Loading...
Pages: [1]   Go Down
Author Topic: Interrupts : PIC32 + Arduino  (Read 400 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I use chipKIT UNO32 with a PIC32MX320F128 and the Arduino plateform. I would like measure a frequency from a sensor. I use an input capture and the timer 3. For more precision, i want use an interrupt to start the calcul.

My problem is, I don't find examples about interrupts for PIC32.

Could you show me how configurate an interrupt ? How to call a function when the  interrupt occur ?

thank for your help.

Baigrou
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 316
Posts: 35519
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My problem is, I don't find examples about interrupts for PIC32.
You won't find any, here, either. In spite of the word ONE in the name, and the basic configuration that matches an Arduino, that thing is NOT an Arduino.
Logged

Dallas, Texas
Offline Offline
God Member
*****
Karma: 1
Posts: 689
Old, decrepit curmugeon
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You are probably better off asking questions about the chipkit device on http://www.chipkit.org/forum/
Logged

New true random number generation library available at: http://code.google.com/p/avr-hardware-random-number-generation/

Current version is Entropy.v0.6.zip

Information about the library is available from: http://code.google.com/p/avr-hardware-random-number-generation/wiki/WikiAVRentropy

Pages: [1]   Go Up
Print
 
Jump to: