Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
interruption error
20-07-2015, 01:36 PM,
#1
interruption error
Hello,

I use a PIC32 pinguino OTG and Pinguino IDE 11. I try to use the OnChangePin4to7(callback func, u8 pin, u8 config) but it gives me the following error:

ERROR: collect2.exe: error: ld returned 1 exit status Huh

If someone could help me please. Blush

Regards
Reply
20-07-2015, 08:09 PM,
#2
RE: interruption error
Hi

??? OnChangePin4to7 ???
Normally OnChange....... routines are for PIC8 board not for PIC32


Bye Bye, Moreno
Reply
21-07-2015, 08:46 PM,
#3
RE: interruption error
Thank you very much.
Then for the PIC 32 with which library should work and how ??
Reply
21-07-2015, 09:13 PM,
#4
RE: interruption error
Hi

Using Interrupt on PIC32 is more complex but even more powerful.

There are some sample code
pinguino-11\examples\08.Interrupt\P32-FrequencyMeter80MHz.pde
pinguino-11\examples\08.Interrupt\P32-Interrupt-Timer1.pde
pinguino-11\examples\08.Interrupt\P32-PeriodMeter80MHz.pde

all the interrupt vectors are defined in
pinguino-11\p32\include\pinguino\core\interrupt.h


Bye Bye, Moreno
Reply
22-07-2015, 01:39 PM,
#5
RE: interruption error
Hi Moreno,

Thank you very much of your help, i'll try it.

Bye, Myriam
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)