网站大量收购独家精品文档,联系QQ:2885784924

多功能遥控小车的硬件软件设计程序(Hardware and software design program of multifunctional remote control car).doc

多功能遥控小车的硬件软件设计程序(Hardware and software design program of multifunctional remote control car).doc

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
多功能遥控小车的硬件软件设计程序(Hardware and software design program of multifunctional remote control car)

多功能遥控小车的硬件软件设计程序(Hardware and software design program of multifunctional remote control car) Six, the car forward, backward, left turn, right turn, left scroll, right scroll of the basic instructions The MOV P2 car forward; LCALL K1; adjust the delay 3 seconds subroutine K1. Changes in the length of time delay can be changed Change the distance of the car. MOV, P2, ; the car stops moving The MOV P2, ; car back LCALL K1; adjust the delay 3 seconds subroutine K1 MOV, P2, ; the car stops pulling back The MOV P2 , the car turn left; LCALL K2; adjust the delay one second subroutine K2. If the angle of the car turn is greater than Or less than 90 degrees, adjustable delay time is achieved MOV, P2, ; the car stops turning left The MOV P2 , the car turn right; LCALL K2; adjust the delay one second subroutine K2 MOV, P2, ; the car stops turning left The MOV P2 , the car left rolling; LCALL K3; adjust the long time delay 5 seconds subroutine K3 MOV, P2, ; the car stops rolling left The MOV P2, ; the car right scroll LCALL K2; adjust the long time delay 5 seconds subroutine K3 MOV, P2, ; the car stops rolling right Seven, complete program list ORG 0000H LJMP MAIN; skip to MAIN ORG 0003H; external interrupt 0 entry address LJMP BB; jump to external interrupt 0 service subroutine first address BB ORG 000BH; T0 interrupt entry address LJMP CC; jump to T0 external interrupt service subroutine first address CC ORG 0013H; external interrupt 1 entry address LJMP DD; jump to external interrupt 1 service subroutine first address DD The external interrupt 0 set; MAIN:MOV, SP, #30H; stack pointer to 30H SETB IT0; set the external interrupt 0 as the falling edge trigger mode SETB EX0; sets external interrupts; 0 switches are switched on (interrupt source allows) The external interrupt 1 set; SETB IT1; settings; external interrupt 1 is the falling edge trigger mode SETB

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档