On the docs it was pointed that only the timer was shared, but when I declare the value of 2 different pins the same value is being written on the 2 pins:
(Value of 15 on 15&3 and value of 14 on 14&2)
The syntax with using anonymous pin numbers instead of the dedicated pin labels (a better practice adivice for Particle devices) does not lend itself to the notion that this forum is focused on Particle devices.
You also don’t state which device you are asking this for, so we can’t provide a definitive answer to your question.
In my program I was using my own labels, and I thought this way would be more understandable
const int Onda_pv = A4; // PWM same timer Group D2/D3/A4/A5/
const int Onda_pr = A5; // PWM same timer Group D2/D3/A4/A5/
const int Onda_mv = D3; // PWM same timer Group D2/D3/A4/A5/.
const int Onda_mr = D2; // PWM same timer Group D2/D3/A4/A5/.`
Yes. I initialize them all as OUTPUTs at the begining of the code.
The PWM drive LEDS but furthermore of the visual test (they change both LEDs bright together) I have also check the output with the oscilloscope. And I can see that the outputs are linked.
Since the timer is responsible for the PWM pulse-pause ratio the value is directly tied to the timer - virtually the same thing in this respect.
So no, the docs are not wrong and even states the fact explicitly