This is a simple generator for 1.5 MHz, I want to change output of it to PB4, both of them are PWM 3/1.
Generator is working ok for PA6 , for PB4 - is nothing on that pin.
Any solution ?
So you are using the "BluePill" STM processor board. You will probably have to ask in their forums since that is not an Arduino board.
I don't know what the "PWM3/1" is supposed to mean. On other BluePill pinouts it is shown as "T3C1". They are different pins on different ports (B4 and A6) so maybe you have a choice of which pin to use. You will need to study the BluePill documentation to see if that is the case and how to select which pin is used.