Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot combine SoftSerial with DigiKeyboard #15

Open
supersjimmie opened this issue May 25, 2017 · 2 comments
Open

Cannot combine SoftSerial with DigiKeyboard #15

supersjimmie opened this issue May 25, 2017 · 2 comments

Comments

@supersjimmie
Copy link

supersjimmie commented May 25, 2017

i get an error:

libraries\DigisparkKeyboard\usbdrvasm.S.o: In function `__vector_2':

C:\...\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkKeyboard/usbdrvasm165.inc:41: multiple definition of `__vector_2'

libraries\DigisparkTinyPinChange\TinyPinChange.cpp.o:C:\...\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7\libraries\DigisparkTinyPinChange/TinyPinChange.cpp:57: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1

When I try to use both SoftSerial and DigiKeyboard.

#include <SoftSerial.h>
#include "DigiKeyboard.h"

SoftSerial mySerial(2, 3); // RX, TX

I guess the __vector_2 is defined in both libraries, but how can I fix that?

@aknik
Copy link

aknik commented Oct 23, 2017

Me too +1:

@faustinoaq
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants