TCCR0A = 0xB0 | (TCCR0A & 0xF) ;
TCCR1A = 0xB0 | (TCCR1A & 0xF) ;
TCCR2A = 0xB0 | (TCCR2A & 0xF) ;
I use pwm.h libery to make PWM1 and PWM2.This two pwm have the same frequency and duty.How to adjust the code to make PWM1 and PWM2 without overlap area?
Dear siri try to contorl positive and negative voltagesso i need two set fast pwm without overlap areadigitalwrite(pin1,high)delay(width)digitalwrite(pin1,low)digitalwrite(pin2,high) ==>pin1 must be low firstdelay(width)digitalwrite(pin2,low)delay(20-width- width)