Open Stefan3424 opened 5 years ago
@Stefan3424 Yes you can. If I understood correct, you want to change zero-cross from second to third pin, are you?
no i want to use pin3 (arduino uno) for a encoder via attachInterrupt(digitalPinToInterrupt(3), EncoderISR, LOW);
hello, i try to attach an interrupt on pin3 (pin 2 is used for zerocrossin) but the compilers says: WInterrupts.c.o (symbol from plugin): In function
attachInterrupt': (.text+0x0): multiple definition of
__vector_1' libraries\RBDDimmer-master\avr\RBDmcuAVR.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Fehler beim Kompilieren für das Board Arduino/Genuino Uno.can someone help me to use the second interrupt on pin3 ?