on my ATmega328PB I'm using OC1A with fast PWM on Timer1 (cpu clk 8MHz, PWM frequency 1.9kHz, 12 Bit).
I need to have 4 separate output ports with the same PWM, which can be enabled separatly.
Actually I'm doing this with an external hardware circuit, but it takes a lot of additional components and space on my PCB.
Would it possible to do this with the ATmega itself?
Maybe some kind of mapping the Timer1-PWM with software to 4 IO-ports, to be enabled separatly?