Author Topic: Error using DigiCDC & SoftSerial together  (Read 3261 times)

edanweis

  • Newbie
  • *
  • Posts: 2
Error using DigiCDC & SoftSerial together
« on: May 13, 2016, 09:21:50 pm »
I get the following error when adding DigiCDC to a sketch which already uses SoftSerial with the Digispark Pro:

Code: [Select]
libraries/DigisparkCDC/usbdrvasm.S.o: In function `__vector_4':
/home/admin/.arduino15/packages/digistump/hardware/avr/1.6.7/libraries/DigisparkCDC/usbdrvasm16.inc:35: multiple definition of `__vector_4'
libraries/DigisparkTinyPinChange/TinyPinChange.cpp.o:/home/admin/.arduino15/packages/digistump/hardware/avr/1.6.7/libraries/DigisparkTinyPinChange/TinyPinChange.cpp:60: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Digispark Pro (Default 16 Mhz).

Any suggestions how these two can work together?

Also, does the Digispark Pro provide native serial UART support? which pins are they? Or is the SoftSerial library always required for serial communication?

Thanks!