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

STC8H Quadrature Encoder mode details

[复制链接]
  • 打卡等级:初来乍到
  • 打卡总天数:4
  • 最近打卡:2025-05-01 06:58:22

5

主题

184

回帖

1333

积分

金牌会员

积分
1333
发表于 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
  • 打卡总天数:20
  • 最近打卡:2025-04-28 16:56:43

21

主题

376

回帖

2345

积分

超级版主

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




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

1.18 MB, 下载次数: 166

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

使用道具 举报 送花

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

本版积分规则

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

GMT+8, 2025-5-2 17:31 , Processed in 0.111318 second(s), 57 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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