搜索资源列表
Duty-cycle-interrupt-example-PIC
- In this archive is included an example code in proton basic compiler how to implement PWM using interrupt.It is used for regulating light intensity of led diode depending on light ambient.When the light is low led diode is full powered and light inte
1-1
- 用单片机实现PWM,可以调级占空比,电压变化-MCU PWM can be adjusted to level duty cycle, the voltage change
PWM
- 先产生一个周期和PWM波相同的周期信号,然后给定一个值,如果这个周期信号大于给定值则输出低电平,否则输出高电平所以,通过控制给定值的大小就可以控制Pwm的占空比了-First generating a cycle and the same cycle of the PWM wave signal, and then given a value, the output is low if this periodic signal is greater than a given value, oth