I was using the SM as you say, I didn’t know that I cannot use it to visualize the data sent from Processing, just now I understand your LEDs example. I will mount it today to try the communication.
On the other hand, I was indicating the serial port wrong in Processing, I think there was the problem.
Great input too, with this I had had to detect my error with the serial port assigned in Processing. The communication Arduino-Processing works well, now I will try in the other direction.