NANO and TLC5940 x 2

Hi,

I try to use two TLC5940 with arduino UNO like in this tutorial:

but I have a problem using two TLC5940. For me both TLC5940 work like one. If I turn on channel 1 channel 17 turns on too... from channel 21 all are open no mater what.

In libraries "tlc_config" change from "#define NUM_TLCS 1" to "#define NUM_TLCS 2" but result is the same.

Could it be my NANO? Because I can upload code only using "ATmega328P (Old Bootloader)"

Maybe it because I cant properly configure settings from 1 TLC to 2 or more TLC. Maybe I miss something I still don't know.

Code is simple:

#include "Tlc5940.h"

void setup(){
  Tlc.init();
}

void loop(){
  Tlc.set(1, 4095);
  Tlc.update();
}

The required Tools > Processor > ATmega328P (Old Bootloader) selection definitely has nothing to do with your problem.

Hi,

I try to use two TLC5940 with arduino UNO like in this tutorial:

but I have a problem using two TLC5940. For me both TLC5940 work like one. If I turn on channel 1 channel 17 turns on too... from channel 21 all are open no mater what.

In libraries "tlc_config" change from "#define NUM_TLCS 1" to "#define NUM_TLCS 2" but result is the same.

Could it be my NANO? Because I can upload code only using "ATmega328P (Old Bootloader)"

Maybe it because I cant properly configure settings from 1 TLC to 2 or more TLC. Maybe I miss something I still don't know.

Code is simple:

#include "Tlc5940.h"

void setup(){
  Tlc.init();
}

void loop(){
  Tlc.set(1, 4095);
  Tlc.update();
}

Please don't cross post!
http://forum.arduino.cc/index.php?topic=590806

Duplicate posts waste the time of the people helping you. Someone might spend 15 minutes writing a detailed answer on this thread, without knowing that someone else already did the same in the other thread. This behavior is not very respectful to the people you're asking for assistance. Just because they give their time freely doesn't mean it has no value.

In the future, take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.

Could it be my NANO?

No.

How is it wired up?

Have you read the Tlc5940.h file about setting up more than one chip?

found problem!
I have more than one arduino program with couple versions and dont know how but in latest version (witch I use for this project) changing tlc_config file dosnt help. I change all tlc_config file which I found in my pc and it helps. tlc5940.h library looking somewhere else for tlc_config file not there is my arduino latest program.