文件名称:pwmRC_SERVO
介绍说明--下载内容来自于网络,使用问题请自行百度
关于用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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.