hi
can anyone explain the difference between PWM pin and the digital pin ?
thanks
hi
can anyone explain the difference between PWM pin and the digital pin ?
thanks
A PWM pin can output a PWM waveform direct from an analogWrite, but if you want to do PWM from a non PWM pin, you have to create the waveform in software.
ok tx
so is there a difference in the hardware on the Arduino board ? or is it all executed in software?
is there a way of creating a PWM signal via an IO expander (ie MCP23S17) ?
Would appriciate any links etc to creating a PWM signal via software.
The pwm signal is created by the timer hardware in the AVR processor.
A pwm signal is simple to create in software, but the higher the frequency, the busier you keep the processor.
thanks for your help AWOL.