tone and TLC5940 library problem

Hi,
I have problem with TLC5940 library and tone function. When I add to setup() tone(2, 38000) my TLC5940 don't work.

This is my setup lines:

void setup(){
  Serial.begin(57600);

  Tlc.init();
  Tlc.clear();

  timer.connect(0, 1, StairsAnimation);
  timer.connect(1, 5000, StairsProximity);

  tone(pinBarrierIR, 38000);

I think, problem is in timers, but I don't know why and how can I resolve the problem. Please, help me...

I am unsure of what the timer.connect call does. Please post entire code (especially if you have created your own objects/functions that are not in a standard library).I could not find the timer objects in the TLC5940 lib.

Thanks

Appros:
I am unsure of what the timer.connect call does. Please post entire code (especially if you have created your own objects/functions that are not in a standard library).I could not find the timer objects in the TLC5940 lib.

timer is a polish library for "multithreading": https://github.com/sprae/Timers/tree/Czyszczenie-z-template-

When I use tone, tlc library don't work but timer library works good.