In my project I am using the TLC5490 chip to drive a series of a LED's and am using the TimerOne library to control some 120volt outlets with PWM. The problem is if I write test code with either library everything works great. Once I try to write my final code where both libraries are used at the same time I keep getting an error message of multiple definitions '_vector_20' . It goes on to tell me that it is used in both libraries. Can someone please explain what this means and a possible way to fix the problem.
calcoast ...
It sounds like each of the libraries defines 'something' as '_vector_20' with a global scope ... meaning that the definition is available everywhere in the program. You'll probably have to find the source code for one of the libraries and change the definition, but that doesn't sound like 'fun' to me ... more like 'complex'.
I know this doesn't help much, but good luck with your project.
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
The TLC5940 library uses Timer1. You may not able to use both libraries at the same time.