-
基于51单片机的带时间显示和紧急控制的交通灯的设计。
此程序在硬件上调试通,用定时器1延时,外部中断0接紧急控制,R0为100MS延时常数,R2为状态延时...
基于51单片机的带时间显示和紧急控制的交通灯的设计。
此程序在硬件上调试通,用定时器1延时,外部中断0接紧急控制,R0为100MS延时常数,R2为状态延时常数,8279控制数码管显示时间,用P1口控制双色灯-With 51 single-chip based on the time display and the emergency control of traffic lights design. On this process in hardware debugging pass, with one delay timer, external interrupt 0 then the emergency control, R0 for 100MS constant delay, R2 for a state of constant delay, digital 8279 control display time control using two-color lights I P1
- 2023-04-28 20:55:03下载
- 积分:1
-
today, I sometimes clear, fast to me, Ninininini Jinini Ninini Ni
今天我有时清,快给我,,尼尼 尼基尼尼 尼尼
-today, I sometimes clear, fast to me, Ninininini Jinini Ninini Ni
- 2022-01-24 12:55:53下载
- 积分:1
-
基于arm的示波器设计,内含单片机控制外部驱动程序
基于arm的示波器设计,内含单片机控制外部驱动程序-Based on the arm of the embedded microcontroller control design, oscilloscope external driver
- 2022-03-15 00:56:44下载
- 积分:1
-
。 。 。 。 。 。 。。 。
。 。 。 。 。 。 。。 。 -。 。 。 。 。 。 。。 。 。 。 。 。 。 。 。
- 2023-06-13 18:35:04下载
- 积分:1
-
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度
C语言写的俄罗斯方块程序
其中的主要逻辑有:
(1)由于c的随机性函数不好,所以每次游戏开始根据bios时间设置种子。
(2)得分越高,方块下降速度越快(每200分为单位)。
(3)每下落一个方块加1分,每消除一行加10分,两行加30分,三行加70分,四行加150分。初试分数为100分。
游戏控制:
up-旋转;空格-下落到底; 左右下方向键-控制方向。P-开始或暂停游戏。 ESC-退出。
特点:
(1)由于tc不支持中文,所以基本都是英文注释。
(2)函数命名尽可能规范的表达其内部处理目的和过程。
(3)代码加上注释仅有577行。(我下载过的两个俄罗斯方块代码一个在1087行,一个在993行,我的比它们代码少)。
(4)除了消除空格时算法比较复杂,其他算法都比较简单易读。
(5)绘图效率和局部代码效率扔有待提高。
(6)FrameTime参数可能依据不同硬件环境进行具体设置,InitGame需要正确的TC路径。
-err
- 2023-05-30 22:10:03下载
- 积分:1
-
动感画OPEN+狗爪的51程序 动感画OPEN+狗爪的51程序
动感画OPEN+狗爪的51程序 动感画OPEN+狗爪的51程序-Flash Lighting Panel OPEN+ dog claws 51 program Innervational Picture OPEN+ dog claws 51 program Innervational Picture OPEN+ dog claws 51 program
- 2023-01-26 22:30:03下载
- 积分:1
-
串口通讯程序,这个程序给出一个参考,并且带645协议部分
串口通讯程序,这个程序给出一个参考,并且带645协议部分-Serial communication procedures, which are given a reference, and with part of 645 agreement
- 2022-01-25 19:58:25下载
- 积分:1
-
- 2022-09-16 09:30:03下载
- 积分:1
-
设计制作了一种智能台灯,主要是以BISS0001和单片机组成的红外传感控制电路。其特点是在有人时且外界光强较弱时能自动开灯,无人时关灯,节约能源;且能纠正坐姿,...
设计制作了一种智能台灯,主要是以BISS0001和单片机组成的红外传感控制电路。其特点是在有人时且外界光强较弱时能自动开灯,无人时关灯,节约能源;且能纠正坐姿,防止近视-Intelligent design a table lamp, and is based on single-chip component BISS0001 and infrared sensor control circuit. Its characteristics are in and the outside world when it was relatively weak light intensity can automatically turn on the lights when no one when the lights are turned off, energy conservation can correct posture and prevent myopia
- 2023-05-12 08:30:02下载
- 积分:1
-
8051单片机,解码红外线遥控器,懂得如何去解码各种遥控器的客户码,键值....
8051单片机,解码红外线遥控器,懂得如何去解码各种遥控器的客户码,键值.-8051, decoding infrared remote control, know how to decode a variety of remote client code, key.
- 2022-02-12 20:05:54下载
- 积分:1