Closed prk3 closed 5 years ago
I wrote my own version of SoftSerial and I it still didn't work. The issue disappeared after removing the external interrupt handler. On ATtiny85 there is only one external interrupt and possibly both libraries define handlers for it.
I got a similar problem trying using both TinyWire and DigiKeyboard but idk how to solve it
libraries\TinyWire-master\twi.cpp.o: In function
vector_2':
C:\Users\10293_000\Documents\Arduino\libraries\TinyWire-master/twi.cpp:822: multiple definition of `vector_2'
libraries\DigisparkKeyboard\usbdrvasm.S.o:C:\Users\10293_000\Documents\ArduinoData\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/usbdrvasm165.inc:41: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Errore durante la compilazione per la scheda Digispark (Default - 16.5mhz).
`
Arduino IDE 1.8.9 Digistump AVR Boards 1.6.7 Digispark USB (ATtiny85)
I've got a sketch with 3 includes:
I get this linker error while compiling the sketch:
Maybe that's a missing
#ifndef
? Or an accidental name collision?