文件名称:adcpwm
介绍说明--下载内容均来自于网络,请自行研究使用
source code is an example of adc and pwm program in atmega 8535. This code will make the microcontroller converts each input of the ADC pin and make it into OCR0 value. This OCR0 value will affect the shape of the generated pwm signal. OC0 pin on PORTB will be linked with a LED and will indicate changes in voltage or duty cycle on pin OC0.
specification:
Timer/Counter used = Timer/Counter 0
Input = port a
output = port b
channel ADC = 0
ADC mode = single conversion
PWN Mode = Fast PWM non inverting
specification:
Timer/Counter used = Timer/Counter 0
Input = port a
output = port b
channel ADC = 0
ADC mode = single conversion
PWN Mode = Fast PWM non inverting
(系统自动生成,下载前可以参看下载内容)
下载文件列表
adcpwm\adcpwm_!\adcpwm_!.aps
......\........\adcpwm_!.asm
......\........\adcpwm_!.aws
......\........\adcpwm_!.hex
......\........\adcpwm_!.map
......\........\adcpwm_!.obj
......\........\AvrBuild.bat
......\........\labels.tmp
......\adcpwm_!
adcpwm
......\........\adcpwm_!.asm
......\........\adcpwm_!.aws
......\........\adcpwm_!.hex
......\........\adcpwm_!.map
......\........\adcpwm_!.obj
......\........\AvrBuild.bat
......\........\labels.tmp
......\adcpwm_!
adcpwm