Hello, this may end up being a very naive question but here goes!
I am working on a project and wanting to know if there is a way to modify a value that is in the library I am including?
in my script i have #include "Tlc5940.h"
In that library is a file called tlc_config.h and it has a value NUM_TLCS that is used to tell the Arduino how many chips are daisy chained together. What I would like to do is have some code in my program that would modify that value based on an input. So something like, "If Pin 3 is HIGH then make NUM_TLCS equal 3". I am planning more to use a value controlled by a POT, but I can handle that part. I just need to know if it is possible for my program script to modify the value in the included library.
Sorry if this is confusing, I am still fairly new to the Arduino world. I will be glad to provide any more details that I can.
Thanks in advance for an help!!