资 源 简 介
是一个汇编延时程序,适合初学者使用,当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.