This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PWM light intensity techinque using microcontroller

I am currently working on a MM32F0020 microcontroller and has been given a task to perform PWM light intensity technique to the microcontroller , i am using keil software for this.I f someone has any example of PWM using any microcontroller it would be of great help if you can share or tell me some things about how to use it.

  • In general, you need to read manual of the chip you plan to use.
    Then read the part about general setup of the clocks, pins and timer that you plan to use for PWM.

    Then you setup clocks and pins with the code and write the functions you need for generating PWM functionality you need.