1. Home >
  2. Apps >
  3. Groups >

PWM control

Question asked by ashish.sharma30 in #Coffee Room on Aug 29, 2010
ashish.sharma30
ashish.sharma30 · Aug 29, 2010
Member of CrazyEngineers
hello!
can anyone please provide me with the PWM control code for 8051 microcontroller.
thanks in advance. Posted in: #Coffee Room
Harshad Italiya
Harshad Italiya · Aug 30, 2010
Proud CEan and Co-Founder @ Energy Cloud Technology
Are you using Timer to generate the PWM then just reload the different Timer Value and that will give you the PWM waveform.
Harshad Italiya
Harshad Italiya · Aug 30, 2010
Proud CEan and Co-Founder @ Energy Cloud Technology
In PWM you have to set the TON and TOFF time period say keep PIN ON for xx second and OFF for yy seconds generate this xx and yy seconds using Delay function or usinf Timer.
Hop you will get the idea for PWM.

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up