AT89C51检测旋转光电编码器程序.docxVIP

  • 8
  • 0
  • 约7千字
  • 约 29页
  • 2019-06-20 发布于广东
  • 举报
A:B:Turn the B signal counterclockwise, ahead of A,and believe itto be 90 degrees:A:B: A: B: Turn the B signal counterclockwise, ahead of A, and believe it to be 90 degrees: A: B: The photoelectric encoder outputs the quadrature signal as shown in the following figure: 90 degrees: 90 degrees: program:Here is the AT89C2051 test and the two octave program: Adopt an external interrupt mode ORG OOH LJMP MAIN ORG 03H LJMP INTO ORG 1311 LJMP INTI ORG 50H MAIN:, MOV, SP, #40H MOV, P3, #OFFH MOV, IE, #1OOOO1O1B; set external interrupts MOV, TCON, SETB EA MAI:, MOV, Pl, #OFFH MOV, P3, #OFFH

文档评论(0)

1亿VIP精品文档

相关文档