搜索资源列表
lcd1602
- 采用4位数据线的1602液晶驱动c语言程序 PWM利用Timer1的OC1A脚输出占空比可调的信号-The use of four data lines 1602 LCD driver c language program using Timer1 in PWM output duty cycle adjustable foot OC1A signal
pwm
- avr atmega48的pwm输出,利用atmega48的oc1a-a scuss code for pwm of atmega48
dianjikongzhimokuai
- 电机闭环控制模块,控制端口为 电机控制 PD6 PD7 0 0 Free 0 1 正转 1 0 反转 1 1 刹车 码盘: PD3 方向 PD2 INT0 //AD PC2 PC3 IIC: PC5 (scl) PC4 (sda) LED PC0 PWM:OC1A PB1-Motor closed-loop cont
Timer1_pwm
- 利用AVR单片机的定时器1分别从PB1(OC1A)和PB2(OC1B)两引脚输出PWM波形。为了演示PWM的功率调节功能,我们在PB1和PB2引脚分别接了发光二极管,用10K电位器模块从PC0引脚接入0 - 5V电压。程序中,主循环内不断采集ADC端口0(PC0引脚)的电压值,根据变化改变OCR1A和OCR1B两个输出比较寄存器的值。PB1和PB2引脚上的PWM波形也随之发生改变,从而调节了送给发光二极管的电压,控制发光二极管的明暗。实
pwm-oc
- avr单片机,带仿真dsn,pwm,oc1a,oc1b,oc2,3种pwm avr自带驱动输出,本人自编,经过改进,用函数调用3种pwm,方便,容易移植-avr microcontroller with simulated dsn, pwm, oc1a, oc1b, oc2, 3 种 pwm avr own drive output, I wrote, improved, with the function call 3 pwm, co
avr-ATmega128-PWM
- \avr ATmega128 PWM输出OCR1A=0x40 //OC1A 输出 25 占空比 OCR1B=0x80 //OC1B 输出 50 占空比 OCR1C=0xc0 //OC1C 输出 75 占空比-\avr ATmega128 PWM
AVR-Digital-Amplifier
- 基于AVR ATmega8 的小功率数字功放 音频经过LM358,然后送入单片片ADC, 模数转换后数字信号通过OC1B OC1A互补输出,驱动三极管 -Based AVR ATmega8 small power digital amplifier Audio through LM358, then into a single piece of ADC, After the analog to digital c