>>>>>>>--------注意事项:EC11旋转编码器的扫描时间间隔控制在1~4ms之间-旋转编码器-c++ - IMDN开发者社群-imdn.cn" /> >>>>>>>--------注意事项:EC11旋转编码器的扫描时间间隔控制在1~4ms之间,否则5ms及以上的扫描时间在快速旋转时可能会误判旋转方向--------<<<<<<<<--------////*******************************************************************///功能:初始化EC11旋转编码器相关参数//形参:EC11旋转编码器的类型-->> unsignedcharSet_EC11_TYPE <<-- :0----一定位对应一脉冲;1(或非0)----两定位对应一脉冲。//返回:无//详解:对EC11旋转编码器的连接IO口做IO口模式设置。以及将相关的变量进行初始化//*******************************************************************/voidEncoder_EC11_Init(unsignedcharSet_EC11_TYPE){//IO口模式初始化。初始化EC11的IO口为准双向模式P35_QB();P36_QB();P37_QB();-IMDN开发者社群-imdn.cn"> >>>>>>>--------注意事项:EC11旋转编码器的扫描时间间隔控制在1~4ms之间,否则5ms及以上的扫描时间在快速旋转时可能会误判旋转方向--------<<<<<<<<--------////*******************************************************************///功能:初始化EC11旋转编码器相关参数//形参:EC11旋转编码器的类型-->> unsignedcharSet_EC11_TYPE <<-- :0----一定位对应一脉冲;1(或非0)----两定位对应一脉冲。//返回:无//详解:对EC11旋转编码器的连接IO口做IO口模式设置。以及将相关的变量进行初始化//*******************************************************************/voidEncoder_EC11_Init(unsignedcharSet_EC11_TYPE){//IO口模式初始化。初始化EC11的IO口为准双向模式P35_QB();P36_QB();P37_QB(); - IMDN开发者社群-imdn.cn">
登录
首页 » c++ » 旋转编码器

旋转编码器

于 2022-07-25 发布 文件大小:4.65 kB
0 76
下载积分: 2 下载次数: 1

代码说明:

//---->>>>----文件描述:EC11旋转编码器底层驱动程序-------文件版本:V1.0---->>>>--------注意事项:EC11旋转编码器的扫描时间间隔控制在1~4ms之间,否则5ms及以上的扫描时间在快速旋转时可能会误判旋转方向--------

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ant
    aco code code aco to problem ant colony
    2011-05-22 06:31:03下载
    积分:1
  • F407_FC_ANO
    匿名飞控领航者基于stm32f407制作的飞控 用于控制四旋翼无人机(Anonymous Flight Control Pilot Based on STm32f407 Four-Rotor Unmanned Aerial Vehicle for Control)
    2020-06-19 20:20:01下载
    积分:1
  • offset
    实现了besier曲线等距线生成算法。等距线生成效果好。(The realization of the equidistance line besier curve generating algorithm. Equidistance line to generate effective.)
    2008-01-01 15:49:18下载
    积分:1
  • connectfive
    这是完整的五子棋MATLAB源码,绝对能运行,能走五子棋。(this is a complete connective_five matlab code )
    2009-11-12 20:58:50下载
    积分:1
  • C++ - 副本
    说明:  找到C++大学教程第九版的电子书,服务于学生及C++初学者(Find out the PDF of the ninth edition of C + + university course for students and C + + beginners)
    2020-06-09 18:35:46下载
    积分:1
  • PIX飞控源码
    说明:  飞行控制器源码内置pid算法以及陀螺仪姿态结算是飞控入门的好源码(The built-in PID algorithm of flight controller source code and the attitude settlement of gyroscope are good source codes for the introduction of flight control.)
    2020-06-19 04:20:01下载
    积分:1
  • 彼岸花全套源码
    gh0st 彼岸花全套源码c++编写 看着看不错 需要的自己下载吧((Gh0st shore flower full set of source code c++ writing, looking good, need to download their own bar))
    2018-03-24 15:42:49下载
    积分:1
  • water
    汪德灌教授那本 计算水力学书后的 perisiman 隐式差分法源代码的 c++版本,我是在fortran代码中改过来的,书中的fortran代码有错误, 请较高人才得以突破 这个东西应该比较有用的吧, 尤其对刚接触这方面知识的 注释很详细哦 而且有输入文件(Professor Wang Deguan that the calculation of hydraulics perisiman after the implicit difference method source code c++ Version, I was changed from fortran code, and the book fortran code error, please talents to break with this higher things you should be more useful, especially for刚接触this regard very detailed knowledge of the Notes and the input file Oh)
    2008-01-10 13:29:29下载
    积分:1
  • clock
    系统主要实现时间的显示,主要包括获取系统时间然后通过时钟的模拟界面进行时间的显示。(System main time display, including access to the system time and then displays the time by the clock of the analog interface.)
    2013-11-30 12:04:57下载
    积分:1
  • fft2_1024
    对信号进行fft加窗插值处理,信号的频率、幅值、相位可以设定(The signal FFT and window interpolation processing)
    2017-08-06 11:03:26下载
    积分:1
  • 696518资源总数
  • 105578会员总数
  • 20今日下载