Thanks!! I don´t know why but trying I have the answer that when i take over the circuit,upload all works ok.
What are this new librarys?? I have tryed this desing but I had problems and change to the oder one... without optoacoplers
Now i am working in oder arduino proyect but i will return to work with DMX.