搜索资源列表
51cpu_about_digital_clock
- 主程序实现:1.时分秒显示 2.定时输出判断功能 中断程序功能:1.年月日显示 2.时间单元进位 3.时间设定时 4.调整时间设定时 按键切换:实现系统功能选择-Main program to achieve: 1. At 2 minutes and seconds display. From time to time determine the function of the output interruption program features: 1. 2
ColorBar
- 本程序用来测试开发板上所有的设备。 1、VGA输出8位色彩的条纹; 2、PS/2键盘输入字符可以传输到LCD和串口调试终端上; 4、拨码与按键开关与4位LED相连-This procedure used to test the development of all on-board equipment. 1, VGA output 8-bit color stripes 2, PS/2 keyboard input characters can be transmitted to
qdq
- (1) 有一个主持人控制开关和8路抢答按扭,当主持人允许抢答时才能进行抢答操作,并用一个数码管显示抢答选手的号码,同时其他选手不能再抢答。 (2)电路上要加个蜂鸣器的电路,当有选手抢答时蜂鸣器响一下。 (3)要有倒计时功能,开始抢答时开始倒20秒计时,用两个数码管显示,当有人抢答时停止倒计时。 2.2拓展部分 用按键可设置倒计时的时间,范围在5秒到30秒之间。-(1) has a host switch and 8-way control button to an
LCD
- 在单片机的P1端口上接有LCD模块,用来显示计时时间。P3.3、P3.4端口分别接有按钮开关K1、K2,做秒表的计时控制按钮。-P1 port in the microcontroller connected with LCD module, used to display time of time. P3.3, P3.4 port were connected with the button switch K1, K2, do stopwatch timing control buttons.
runleds
- a source code written in C++ for PIC18F452 that turns on and running first 3 leds (1,2,3) then after pressing a button (INT0) changes the way(3,2,1) by using first switch we can change the delay between the running leds :)
anjian
- 按键控制与LED灯联合起来设计程序 第一按键正转同时八盏流水灯从左往右循环流水 第二按键反转同时八盏流水灯从右往左循环流水 第三按键停转同时八盏流水灯全灭 按键之间可任意切换状态-Button control and LED lights together the first key of the design process forward eight water lights from left to right recirculating button reverse at
diantimen
- 电梯门上下切换 第一按键控制电梯门向上运行(电机正转) 按下该按键则电梯门向上运行,松开按键电梯停运 第二按键控制电梯门向下运行(电机反转) 按下此按键则电梯门向下运行,松开按键电梯停运 -The elevator door up and down to switch the first button control elevator door up running (the motor is transferred) to press the button to the
jingsaiqiangdaqi
- 逻辑开关K0~K7代表竞赛抢答按钮0~7号,当某个逻辑电平开关置“1”时,相当某组抢答按钮按下。在七段数码管上将其组号(0~7)显示出来,并使微机扬声器响一下。-The logic switching K0 to K7 behalf of the contest Qiangda button 0 to 7, when a logic level switch is set to " 1" , quite a group Responder button press. Its gr
mnppqbs
- 用8个LED发光管(红黄绿)的来回滚动显示来模拟打乒乓球时乒乓球在两边球台上的来回运动。比赛双方用按钮/开关(双方各用一个按钮/开关)来模拟发球与接球,即发球方按动其控制的按钮/开关,球从发球方一侧向另一方运动(LED发光管从发球方到对方逐个点亮,滚动显示),当球运动至接球方时,接球方立即按动其控制的按钮/开关,“击球”使球“弹回”发球方一侧,如此周而复始,直至在规定的击球时间内有一方未能完成击球动作,从而对方的一分,然后继续比赛。比赛规则可参照一般的乒乓球比赛规则。 (1) 球以每0.5秒
y1
- 硬件按按键开关灯 实现按键开灯灭 按键关灯亮-Hardware key switch lights button lights off button to turn off the lights bright
qiangdaqi
- 竞赛抢答器(模拟)的原理图,逻辑开关K0~K7代表竞赛抢答按钮0~7号,当某个逻辑电平开关置“1”时,相当某组抢答按钮按下。在七段数码管上将其组号(0~7)显示出来,并使微机扬声器响一下-Contest for (analog) schematics, logic switch K0 ~ K7 represents Contest for buttons 0-7, when a logic level switch is set to " 1" , quite a group a
Digital-electronic-clock
- 设计一个以AT89S51单片机为核心的数字电子钟控制器,实现电子钟的时间、日期交替显示、闹钟功能,并可通过按钮开关或键盘切换显示内容、调整参数、设置闹钟,在单片机实验板上模拟调试实现控制器的功能。-To design a digital electronic clock with AT89S51 as the core controller, realize electronic clock time, date, alternate display, alarm clock function,
qiangdaqi
- 设计一个具有8路抢答的抢答器,利用并行接口和开关键来实现,利用逻辑开关K0—K7代表抢答按钮,当某个逻辑开关闭合时,则此时在七段数码管上讲其号码现实出来-Design an 8-way Responder has a Responder, using a parallel interface and open the key to achieve, using the logical switch K0-K7 representatives answer button when a logica
DC-motor-speed-control
- 通过开关或按键实现三个功能的切换:○1利用A/D转换芯片0809将W1电位器提供模拟量转换成数字量并显示;○2利用D/A转换芯片0832将单片机输出的数字量转换为模拟量输出并显示;○3利用W1电位器提供的模拟量经0809、单片机和0832转换和放大后驱动直流电机,实现电机调速。-Achieve three functions through the switch or button switch: ○ 1 use A/D converter chip 0809 will provide an a
4
- 电子实时时钟系统 1)设计一个可以显示1234的显示电路,并利用单片机实现。 2)利用按键切换,然后显示I0Y 3)按键切换的动作,全部用串口进行通信。 设计一个开关,当进行切换后,程序再进入主要要求。 主模块要求: (1) 显示准确的北京时间(时、分),可用24小时制式; (2) 随时可以调校时间。 (3) 增加公历日期显示功能(月、日); (4) 随时可以调校月、日; (5) 允许通过转换功能键转换显示时间或日期。 (6) 所有按键需要通过串口自发
clipper1
- 3个按键,一个按键开灯1,一个按键关灯1,一个按键开关灯2,一个按键开关灯3.-3 buttons, a button on a button to turn off the lights 1, 1, a key switch lamp 2, a key switch lamp 3
include
- 中断程序的编写:在单片机系统的p1口上接有8个LED,LED的阳极接+5V,阴极接P1口的引脚。当P1口某一口线输出为0时,将LED点亮。在外部中断0输出引脚P3.2引脚上接上上拉电阻并接有一个按钮开关K1。用K1按钮来产生外部中断0的输入信号。定时器程序的编写:在AT89S51单片机的P1口上接有8个LED.下面采用定时器T0的方式一的定时中断方式,使P1口外接的8个LED每0.5秒闪亮一次。C51程序:在AT89S51的P1.0脚接有一只发光二极管,二极管的阴极接P1.0脚,阳极通过限流电阻
a41
- 甲机将片内RAM 30H-4FH的数据从串口发送出去,要求使用校验,BR采用9600bps或4800bps,可以使用按键切换BR,发送完毕后有一颗LED点亮指示- A machine 30H-4FH RAM data the serial port to send out, requiring the use of calibration, 9600bps using BR or 4800bps, you can use the button to switch BR, after
t1.txt
- toggle relay based on switch first and second based on push button switch AVR Code