I want to send 2 different pwm from 2 different pins 44 and 45 from an adruino mega.I am monitoring the pwm with a fluke scopemeter. When i give 100% of duty cycle i get normal pwm when i reduce the 1st pwm to 50% everything are normal at 250Hz.When i reduce the second one to 50% also then the first gives 168Hz of duty cycle tho it's value is 127.Are pwm pin outs independent or am i wrong somewhere else.
PWM is timer-based. The same timer controls two PWM pins. True independent PWM will require two different timers, which means that it won't happen on adjacent pins.