找回密码
 立即注册
查看: 450|回复: 1

STC8H Quadrature Encoder mode details

[复制链接]

该用户从未签到

4

主题

87

回帖

674

积分

高级会员

积分
674
发表于 2023-5-16 08:37:51 | 显示全部楼层 |阅读模式
I found the code for Quadrature Encoder mode, but have some incomplete issues



a) It does not state anywhere where the pins map, to apply the Qa,Qb signals.
After many hops through the data my best guess is Quad defaults are  P1.0  & P1.2 ?


b)There is no example for Quadrature Encoder mode, applies to PWMB ?
Are there any links for a PWMB example ?  
回复 送花

使用道具 举报

  • TA的每日心情
    奋斗
    2023-12-5 13:56
  • 签到天数: 5 天

    [LV.2]偶尔看看I

    12

    主题

    259

    回帖

    1592

    积分

    超级版主

    积分
    1592
    发表于 2023-5-16 09:04:49 | 显示全部楼层
    Hello, you can refer to our PWM encoder example program first!




    STC8H系列-高级PWM相关程序.rar

    1.18 MB, 下载次数: 16

    电话:0513-55012946 QQ:2195591714  微信:  19952583740
    回复 支持 1 反对 0 送花

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    QQ|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )

    GMT+8, 2024-5-19 13:05 , Processed in 0.056173 second(s), 36 queries .

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表