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

STC8H Quadrature Encoder mode details

[复制链接]
  • 打卡等级:初来乍到
  • 打卡总天数:6
  • 最近打卡:2025-05-09 14:06:13

5

主题

186

回帖

1403

积分

金牌会员

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

使用道具 举报 送花

  • 打卡等级:偶尔看看III
  • 打卡总天数:40
  • 最近打卡:2025-06-14 12:40:19

25

主题

407

回帖

2527

积分

超级版主

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




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

1.18 MB, 下载次数: 172

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

使用道具 举报 送花

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

本版积分规则

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

GMT+8, 2025-6-17 06:31 , Processed in 0.172365 second(s), 57 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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