文件名称:pwmRC_SERVO
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- lig****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
关于用PWM控制舵机的好资料,直接复制即可
SYSCLK=12MHz PCACLK=1MHz与系统时钟48MHz,PCA时钟4MHz,PWM周期70Hz,需要0x37CE*4=0xDF36个PWM周期,计数递增到0xFFFF后溢出-PWM control on the steering gear with good information, you can directly copy the SYSCLK = 12MHz PCACLK = 1MHz and the system clock 48MHz, PCA clock 4MHz, PWM cycle of 70Hz, need 0x37CE* 4 = 0xDF36 a PWM cycle, after the overflow count increased to 0xFFFF
SYSCLK=12MHz PCACLK=1MHz与系统时钟48MHz,PCA时钟4MHz,PWM周期70Hz,需要0x37CE*4=0xDF36个PWM周期,计数递增到0xFFFF后溢出-PWM control on the steering gear with good information, you can directly copy the SYSCLK = 12MHz PCACLK = 1MHz and the system clock 48MHz, PCA clock 4MHz, PWM cycle of 70Hz, need 0x37CE* 4 = 0xDF36 a PWM cycle, after the overflow count increased to 0xFFFF
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pwm舵机.c