Software Controlled PWM
Posted: Mon Jun 10, 2019 12:46 pm
Afternoon All,
Looking at an application that I would like 3 PWM channels my device only has two available only a cursory look on microchips part selector reviled that 4 channels tend to be on the high pin count devices. So thought of doing it in software have seen the software PWW example of a night rider LED chaser but this didn't make much sense, couldn't see how it was working.
A software PWM search - returned too many results "software" & "pwm"
Anybody got an example ?
I have toyed with the idea of a two timer approach using timer0 and timer2
Steve
Looking at an application that I would like 3 PWM channels my device only has two available only a cursory look on microchips part selector reviled that 4 channels tend to be on the high pin count devices. So thought of doing it in software have seen the software PWW example of a night rider LED chaser but this didn't make much sense, couldn't see how it was working.
A software PWM search - returned too many results "software" & "pwm"
Anybody got an example ?
I have toyed with the idea of a two timer approach using timer0 and timer2
Steve