labradore / arduino-pinchangeint

Automatically exported from code.google.com/p/arduino-pinchangeint
0 stars 0 forks source link

Incompatible with oficial SoftwareSerial library? #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
#include <PinChangeInt.h>
#include <SoftwareSerial.h>

What is the expected output? 
Binary sketch size: ???? bytes (of a 30 720 byte maximum)

What do you see instead?
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_3':
C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:305: 
multiple definition of `__vector_3'
sketch_sep20b.cpp.o:C:\Users\NEO\Documents\Arduino\libraries\PinChangeInt/PinCha
ngeInt.h:563: first defined here
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_4':
C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:312: 
multiple definition of `__vector_4'
sketch_sep20b.cpp.o:C:\Users\NEO\Documents\Arduino\libraries\PinChangeInt/PinCha
ngeInt.h:573: first defined here
SoftwareSerial\SoftwareSerial.cpp.o: In function `__vector_5':
C:\Program Files (x86)\Arduino\libraries\SoftwareSerial/SoftwareSerial.cpp:319: 
multiple definition of `__vector_5'
sketch_sep20b.cpp.o:C:\Users\NEO\Documents\Arduino\libraries\PinChangeInt/PinCha
ngeInt.h:583: first defined here

What version of the product are you using? On what operating system?
Version 2.19 (beta) Tue Nov 20 07:33:37 CST 2012

Please provide any additional information below.
---------------------------------
#include <PinChangeInt.h>
#include <SoftwareSerial.h>
void setup() {  
}
void loop() {  
}
--------------------------------
result in Error Compiling.

Thank you in advance for quick handling.

Original issue reported on code.google.com by xxxKub...@gmail.com on 20 Sep 2014 at 11:14

GoogleCodeExporter commented 8 years ago
Ups Sorry I found the limitations in Bugs section.
I have Arduino Nano and I want to use A1, A3, A5 as interupts
and D3, D8 as SoftwareSerial.

How can I do it?

Original comment by xxxKub...@gmail.com on 20 Sep 2014 at 9:23