Closed scargill closed 6 years ago
This is a conflict because most libraries use hardware timers. Try using the PCI receiver instead of the 50 µs interrupt receiver. Or determine which hardware timers are being used by the TONE library and change the default timers in IRLib2. You can find details in the documentation.
Trying PCI
Note - Word manual - mistakes.... My - sometimes my.... and screen 7 - dumpResultso() should be dumpResults()
Yup - PCI works. Ta.
I'm still getting the same error using IRrecvPCI myReceiver(RECV_PIN); Could you show how exactly it should be done? Or how to change timer in IRLib2? I can't find the line that control the timers. Thanks!
In a simple project which uses the TONE library (I'm using a NANO) I tried to compile in the IR receiver software and..
Tone.cpp.o (symbol from plugin): In function `timer0_pin_port':
(.text+0x0): multiple definition of `__vector_7'
libraries\IRLibRecv\IRLibRecv.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1 Error compiling for board Arduino Nano.