搜索资源列表
1
- 利用单片机定时器0实现脉冲计数,通过tl0查询巧妙地去除按键的抖动-The use of single-chip Timer 0 for Pulse count, by cleverly removing key tl0 check the jitter
DS1302
- 单片机按键扫描并对按键次数进行计数和显示-Single chip microcomputer and the number of buttons scan button to count and display
miaobiao
- 按键控制秒表,实现计数和数码管的显示。包括数码管的显示,按键的实现。-Buttons control the stopwatch
stopwatch
- 双数码管可调秒表 由于单片机I/O资源足够,所以双数码管可接成静态显示方式,两个共阴数码管分别接在P1(秒十位)和P2(秒个位)口,它们的共阴极都接地,安排两个按键接在P3.2(十位数调整)和P3.3(个位数调整)上,为了方便计时,选用12MHz的晶体。为了达到精确计时,选用定时器方式2,每计数250重载一次,即250us,定义一整数变量计数重载次数,这样计数4000次即为一秒。定义两个字节变量S10和S1分别计算秒十位和秒个位。-Double digital tube adjustable s
home_purge_sys
- 家用自来水处理系统;主要通过2个浮球信号、按键、结合时间计数控制4个电磁阀对超滤器自动清洗排污、缓冲桶、水塔的管理。-Home water treatment system mainly through two float signal, combined with two buttons and control 4 count the time the solenoid valve for ultra-filter automatic cleaning sewage water tower
digitalClock
- 数字表,自动安秒计数,自带按键停止,清零功能。适用于51系列单片机-digital clock asm file for 51.
clock
- clk: 标准时钟信号,本例中,其频率为4Hz; clk_1k: 产生闹铃音、报时音的时钟信号,本例中其频率为1024Hz; mode: 功能控制信号;为0:计时功能; 为1:闹钟功能; 为2:手动校时功能; turn: 接按键,在手动校时功能时,选择是调整小时,还是分钟; 若长时间按住该键,还可使秒信号清零,用于精确调时; change: 接按键,手动调整时,每按一次,计数器加1; 如果长按,则连续快速加1,用于快速调时和定时; hour,min,se
1
- 定时、计数、显示 设计一系统,系统要求: 1、有一发光二极管闪烁,闪烁周期为2S,有一按键S1对其进行控制(按一次开,再按一次停) 2、对一脉冲源进行计数,所记录的脉冲个数以十进制形式在数码管显示(最大225),有一按键S2对其进行控制(按一次开,再按一次停)。 S1不开是,发光二极管灭;S2不开时数码管显示自己的学号。 -Timing, counting, display System design, system requirements: 1, a light-
anjian
- 用按键来达到计数的目的。并且用proteus仿真电路实现C语言程序设计-With the purpose of the button to achieve count. And proteus simulation with circuit implementation language C program design
PWM-PID-motor
- 运用PID调节器,实现直流电机在带动负载的情况下也能稳定的运行。运用A/D转换芯片将滑动变阻器的模拟电压转换为数字量作为控制直流电机速度的给定值;用压控振荡器模拟直流电机的运行(电压高-转速高-脉冲多),单片机在单位时间内对脉冲计数作为电机速度的检测值;应用数字PID模型作单片机控制编程,其中P、I、D参数可按键输入并用LED数码显示;单片机PWM调宽输出作为输出值,开关驱动、电子滤波控制模拟电机(压控振荡器)实现对直流电机的PID调压调速功能。-Use of the PID controlle
main
- 具有一定的抗干扰能力;利用单片机内部定时器中断实现自动计数;数码管显示当前计数值;独立按键实现对计数的加减,暂停,继续,清零等设置操作。当按键按下,蜂鸣器发出声音。-Anti-jamming capability MCU internal timer interrupt automatic count digital display the current count value individual keys to the addition and subtraction, count
key_test_new
- 单片机按键去抖动源程序,不通过延时判断,通过累积计数,判断按键按下时间长度-SCM buttons to dither source program, not through the delay judgment, through the cumulative count, judge keys pressed the length of time
keyboard
- 基于VHDL的4*4矩阵键盘扫描,包括按键次数计数功能,已处理防抖、长按、双键-Count function based on VHDL-4* 4 matrix keyboard scanning, including the number of keys, and have been processed image stabilization, long, double bond
IIC-AT24C16-msp430f149
- 基于msp430的eeprom测试程序,三个按键控制,计数,保存于回放数据-Based on the msp430 the eeprom test program, three button control, count, stored in the playback data
INT0-
- 每次按下第 1 个计数键时, 第1 组计数值累加并显示在右边3 只数 码管上, 每次按下第 2 个计数键时,第 2 组计数值累加并显示在左边3 只数码管上,后两个按键分别清零。-Each time you press a count key, the first group count value accumulated and displayed on the right three digital tube, each time you press the two counts
74HC595aSP
- 1、以单片机4位数码管和S0/S1两个按键为硬件电路。 2、按下S0升序计数,极限为9999 按下S1降序计数,极限为0000 -A hardware circuit to microcontroller 4 digital tube and S0/S1 two keys. 2, press the S0 ascending count limit is 9999 press S1 descending count limit is 0000
keyled1
- elan单片机编程 2个八位数码管计数,按键一次,从0-99递增-SCM Elan programming2 of eight digital tube counting, button once, from 0-99 increments
sy1(1)
- 每按一次按键,累计按键次数并通过LED显示出来,且采用16进制计数。-Each time you press the button, the cumulative number of keystrokes and through the LED display and hexadecimal count.
anjian
- 通过按键多功能显示数码管,并可以计数显示所按下的次数-Digital tube, and can count the number of times the display by pressing the button multi-function display
TEXT6
- 实验板中高两位和低两位数码管为两个独立计数器,利用键盘的两行按键通过外部中断方式分别控制它们的计数。每行选用三个按键分别作为一个计数器的启动、暂停、清0控制键。-High two and low-experimental board two digital tube into two independent counter, two rows of the keyboard keys by external interrupt, respectively, to control their co