I would like to use the following ports for the specified function:
PWM: PB6, PB7
I2C: PD0, PD1
However, when I use PWM0 to generate PWM signals on PB6 and PB7 the same PWM is output on PD0 and PD1. I need to use PD0 and PD1 for I2C operation, so cannot have PWM being output on them.
How can I stop the PWM, from PB6 and PB7, being output on PD0 and PD1, while still giving me the flexibility to use I2C on PD0 and PD1?
My code for PWM output and I2C work independently, but not when they are integrated.
Thanks!
Kathleen