c语言数码管按下k1显示1,dsjs 用c语言实现功能 1.用四位数码管显示格式为“分分秒秒” 2. 程序执行后工作指示灯LED闪动 - 下载 - 搜珍网...

用c语言实现功能

1.用四位数码管显示格式为“分分秒秒”

2. 程序执行后工作指示灯LED闪动,表示程序开始执行,按下操作键K1~K4动作如下。

K1—可调整倒计数的时间1~60分钟。

K2—设置倒计数的时间为5分钟,显示“0500”。

K3—设置倒计数的时间为10分钟,显示“1000”。

K4—设置倒计数的时间为20分钟,显示“2000”。

复位后LED的画面应能显示倒计时的分钟和秒数,此时按K1键则在LED上显示出设置画面。此时,若:

a. 按操作键K2—增加倒计数的时间1分钟。

b. 按操作键K3—减少倒计数的时间1分钟。

c. 按操作键K4—设置完成。

3 倒计时完时播放音乐《八月桂花》-C language function

With four digital display format for the "every second"

2 program execution indicator LED flashing, indicating that the program started, press the operation keys K1 ~ K4 action follows.

K1-adjustable countdown time to 60 minutes.

K2-set countdown time for five minutes, "0500".

K3-set countdown time of 10 minutes, "1000".

K4-set countdown time of 20 minutes, "2000".

After reset, the LED screen can display minutes and seconds of the countdown, press K1 key setting screen displayed on the LED. At this point, if:

(a) Press the operation keys to the K2-increase the countdown time to 1 minute.

(b) the operation keys K3-reducing counting down the time of one minute.

(c) the operation keys of K4-set.

3 countdown finished when play music, "August osmanthus

(系统自动生成,下载前可以参看下载内容)

下载文件列表

dsjs.txt

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值