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

STC8H Quadrature Encoder mode details

[复制链接]
  • 打卡等级:偶尔看看I
  • 打卡总天数:11
  • 最近打卡:2025-09-08 07:48:23

5

主题

188

回帖

1521

积分

金牌会员

积分
1521
发表于 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 ?  
回复

使用道具 举报 送花

  • 打卡等级:常住居民II
  • 打卡总天数:82
  • 最近打卡:2025-09-12 10:14:43

25

主题

466

回帖

2890

积分

超级版主

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




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

1.18 MB, 下载次数: 199

电话:0513-55012946 QQ:2195591714  微信:  19952583740
回复

使用道具 举报 送花

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

本版积分规则

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

GMT+8, 2025-9-18 20:07 , Processed in 0.124359 second(s), 57 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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