登录
首页 » 汇编语言 » way light

way light

于 2022-05-20 发布 文件大小:2.29 kB
0 34
下载积分: 2 下载次数: 1

代码说明:

是一个汇编延时程序,适合初学者使用,当P1.0端口输出高电平,即P1.0=1时,根据发光二极管的单向导电性可知,这时发光二极管L1熄灭;当P1.0端口输出低电平,即P1.0=0时,发光二极管L1亮;我们可以使用SETB P1.0指令使P1.0端口输出高电平,使用CLR P1.0指令使P1.0端口输出低电平。 -Delay is a compilation of procedures, suitable for beginners to use, when the high output port P1.0, P1.0 = 1 that is, when the one-way light-emitting diodes based on conductivity, we can see that this light-emitting diodes L1 extinguished when P1. 0 port output low, that is, P1.0 = 0, the light-emitting diodes L1-liang we can use the command SETB P1.0 port P1.0 output high to enable the use of instructions to enable CLR P1.0 output port P1.0 low.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103930会员总数
  • 47今日下载