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

way light

于 2022-05-20 发布 文件大小:2.29 kB
0 86
下载积分: 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 个回复

  • 的匿名管道,支持win98/win2000/xp
    用汇编编的匿名管道,支持win98/win2000/xp-Compilation made by the anonymous pipes, support win98/win2000/xp
    2022-07-15 07:17:46下载
    积分:1
  • The program is to achieve the realization of digital clock, and a corresponding...
    该程序是实现数字钟的实现 ,并且有相应的界面。-The program is to achieve the realization of digital clock, and a corresponding interface.
    2023-03-21 02:45:03下载
    积分:1
  • 设计一种自动洗衣机的程序控制器,在启动后先进水,等到达高水位后,启动洗衣马达转动4min,如在洗衣过程中发现水位低于高水位,则停止洗衣马达转动并报警,并在水位到...
    设计一种自动洗衣机的程序控制器,在启动后先进水,等到达高水位后,启动洗衣马达转动4min,如在洗衣过程中发现水位低于高水位,则停止洗衣马达转动并报警,并在水位到达高水位后再次启动马达。洗衣结束后则启动排水开关,待水位到达低水位后,则启动脱水马达,转动2min。如此重复三次,要求在每一动作之间有2s的间隔。 高水位,低水位为水位传感器,用两个开关模拟,当水位高于高水位或低于低水位时,两个开关的状态分别为0 。启动开关用一个开关表示。进水、排水、洗衣马达、脱水马达及报警分别用一个发光二极管表示。本实验只需用可编程并行接口电路的A口。其硬件接口如下图所示。也可采用可编程逻辑器件进行设计。 -Design of an automatic washing process controller, after commencement of advanced water, and so on to reach the high water mark, start laundry motor rotation 4min, such as in laundry water level lower than that found during the high water mark, then the motor stops rotating laundry and alarm, and the the water level reaches the high water mark again to start the motor. Laundry is started after the end of the drainage switch, when the water level reaches the low water level, then start the dehydration motors, rotating 2min. Repeat three times, each action requires the interval between the 2s. High water, low water level as water level sensors, with two analog switches, when the water
    2023-04-30 10:55:03下载
    积分:1
  • KS0108和KS0107组合的128*64LCD屏显示程式
    KS0108和KS0107组合的128*64LCD屏显示程式-KS0108 and KS0107 portfolio of 128* Embedded-screen display program
    2023-07-21 04:15:03下载
    积分:1
  • PIC 外部中断 控制程序
    此电话用于工作面沿线,与控制台配接,具有沿线的报 警、通话、闭锁等功能。型号 1:开关为旋钮,可以远启远停破碎机、转载机、前部运输机、 后部运输机,对前部运输机或后部运输机进行锁定。型号 2:开关为按钮,与控制台配接可 以闭锁前部运输机或后部运输机。利用PIC16f628A单片机实现控制程序
    2022-01-31 16:13:03下载
    积分:1
  • 里面有c和单片机的程序,可以找到延时,lcd显示,树脂转换,键盘扫描等...
    里面有c和单片机的程序,可以找到延时,lcd显示,树脂转换,键盘扫描等-There are c and SCM procedures, can be found delay, lcd display, resin conversion, keyboard scanning, etc.
    2022-03-11 12:43:25下载
    积分:1
  • 一款非常小的液晶显示屏,适合于便携式设备使用。
    一款非常小的液晶显示屏,适合于便携式设备使用。-A very small LCD screen, suitable for use in portable devices.
    2022-02-04 23:02:46下载
    积分:1
  • 提供了键盘的扫描码目录,可以通过查询实现相关热键的拦截。...
    提供了键盘的扫描码目录,可以通过查询实现相关热键的拦截。-Provides a keyboard scan code directory, can be achieved by querying the relevant hotkey to intercept.
    2022-07-16 01:37:01下载
    积分:1
  • 带小动画,情人节
    用汇编编的一个小动画,情人-compilation series with a small animation, Valentine
    2022-02-01 15:34:12下载
    积分:1
  • 如何写小于20K的Windows程序.演示如何使用:CreateWindow, CreateWindowEx, S endMessage and GetMes
    如何编写小于20K的Windows程序.演示如何使用:CreateWindow, CreateWindowEx, S endMessage and GetMessage TranslateMessage and DispatchMessage, CreateFont 演示如何使用API创建Windows窗口控件- How compiles is smaller than the 20K Windows procedure How demonstrates uses: CreateWindow, CreateWindowEx, S endMessage and GetMessage TranslateMessage and DispatchMessage, how does CreateFont demonstrate uses API to found the Windows window to control
    2022-11-17 12:00:03下载
    积分:1
  • 696518资源总数
  • 105661会员总数
  • 6今日下载