prampec / arduino-pcimanager Goto Github PK
View Code? Open in Web Editor NEWManage the Pin Change Interrupt in Arduino.
Manage the Pin Change Interrupt in Arduino.
What steps will reproduce the problem?
1. just include SoftwareSerial.h and PciManager (PciManager.h and
PciListenerImp.h)
We get a bunch of errors like:
PciManager\PciManager.cpp.o: In function `__vector_3':
Arduino\libraries\PciManager/PciManager.cpp:144: multiple definition of
`__vector_3'
SoftwareSerial\SoftwareSerial.cpp.o:D:\work\_Arduino\arduino-1.0.2\libraries\Sof
twareSerial/SoftwareSerial.cpp:302: first defined here
PciManager\PciManager.cpp.o: In function `__vector_4':
Arduino\libraries\PciManager/PciManager.cpp:147: multiple definition of
`__vector_4'
SoftwareSerial\SoftwareSerial.cpp.o:D:\work\_Arduino\arduino-1.0.2\libraries\Sof
twareSerial/SoftwareSerial.cpp:309: first defined here
PciManager\PciManager.cpp.o: In function `__vector_5':
Arduino\libraries\PciManager/PciManager.cpp:150: multiple definition of
`__vector_5'
SoftwareSerial\SoftwareSerial.cpp.o:D:\work\_Arduino\arduino-1.0.2\libraries\Sof
twareSerial/SoftwareSerial.cpp:316: first defined here
Tested on Arduino 1.0.2, Windows version.
Original issue reported on code.google.com by [email protected]
on 3 Dec 2012 at 12:39
I want to use SoftTimer and SoftwareSerial together. To use SoftTimer, I have to also include PciManager.h. But if I include both PciManager.h and SoftwareSerial.h, I get a stream of ld errors (sample below). I am using latest releases of SoftTimer & PciManager (3.1.0 and 2.1.0 respectively), and the SoftwareSerial that's built-in to Arduino IDE 1.6.5.
Compile output follows:
Arduino: 1.6.5 (Mac OS X), Board: "Arduino/Genuino Uno"
PciManager/PciManager.cpp.o: In function __vector_3': /Users/twilson/Documents/Arduino/libraries/PciManager/src/PciManager.cpp:144: multiple definition of
__vector_3'
SoftwareSerial/SoftwareSerial.cpp.o:/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp:227: first defined here
PciManager/PciManager.cpp.o: In function PciManagerClass::remove(PciListener*)': /Users/twilson/Documents/Arduino/libraries/PciManager/src/PciManager.cpp:63: multiple definition of
__vector_4'
SoftwareSerial/SoftwareSerial.cpp.o:/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp:392: first defined here
PciManager/PciManager.cpp.o: In function PciManagerClass::remove(PciListener*)': /Users/twilson/Documents/Arduino/libraries/PciManager/src/PciManager.cpp:63: multiple definition of
__vector_5'
SoftwareSerial/SoftwareSerial.cpp.o:/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp:392: first defined here
collect2: error: ld returned 1 exit status
Error compiling.
It appears that this library is not yet tested on the Zero processor.
In PciListenerImp.h:
Is it wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.