搜索资源列表
8255按键练习
- 通过8255查询键值,显示不同的数字。k1显示1,K2显示2,K1和K2显示3,如此类推。最多能显示7。-8,255 inquiries through the keys, show different figures. K1 shows a, K2 showed 2, K1 and K2 showed three, and so forth. The most that can be shown 7.
K1
- hanoi塔经典问题,采用递归算法,值得研究研究-Hanoi tower classic, using recursive algorithm, it is worth studies
Caesar--java
- 凯撒密码扩展算法,输入加密参数k1,k2, c =(k1*m+k2) mod 26-Caesar expansion password algorithm, the import of encryption parameters k1, k2, c = (k1 * m k2) mod 26
zhuangtaizhishi
- 多路开关状态指示 如图4.3.1所示,AT89S51单片机的P1.0-P1.3接四个发光二极管L1-L4,P1.4-P1.7接了四个开关K1-K4,编程将开关的状态反映到发光二极管上。(开关闭合,对应的灯亮,开关断开,对应的灯灭)。 -multiple switch state instructions shown in Figure 4.3.1. AT89S51 SCM P1.0 - P1.3 then four LE
chg_counter
- 可预置可逆4位计数器 利用AT89S51单片机的P1.0-P1.3接四个发光二极管L1-L4,用来指示当前计数的数据;用P1.4-P1.7作为预置数据的输入端,接四个拨动开关K1-K4,用P3.6/WR和P3.7/RD端口接两个轻触开关,用来作加计数和减计数开关 -be reversible four preset counter use AT89S51 SCM P1.0 - P1.3 then made 4 LED L
gaojingdujiechengsuanfa
- 高精度乘法基本思想和加法一样。其基本流程如下: ①读入被乘数s1,乘数s2 ②把s1、s2分成4位一段,转成数值存在数组a,b中;记下a,b的长度k1,k2; ③i赋为b中的最低位; ④从b中取出第i位与a相乘,累加到另一数组c中;(注意:累加时错开的位数应是多少位 ?) ⑤i:=i-1;检测i值:小于k2则转⑥,否则转④ ⑥打印结果
VHDL-ysw
- 基于CPLD的棋类比赛计时时钟,第一个CNT60实现秒钟计时功能,第二个CNT60实现分钟的计时功能,CTT3完成两小时的计时功能。秒钟计时模块的进位端和开关K1相与提供分钟的计时模块使能,当秒种计时模块计时到59时向分种计时模块进位,同时自己清零。同理分种计时模块到59时向CTT3小时计时模块进位,到1小时59分59秒时,全部清零。同时,开关K1可以在两小时内暂停秒钟计时模块,分钟计时模块和小时计时模块。各模块的VHDL语言描述如下:
SmallRTOS51clock
- 这是Small RTOS 51 DP-51下载仿真实验仪上实现一个闹钟的源代码。它可以使用k1~k4调整时间,使用串口设置一个报警时间。由于仅仅是一个例子而非产品,有一些细节没有完善。如调整完时间后第一次显示的时间是错误的(由于共享TimeData引起);没有使用串行eeprom存储多个报警时间等;删除报警代码没有编写。不过,程序已经可以使用,读者可以自行完善它。通讯协议参考rtos随想曲和test.ini。 注意:(1)在K
DV710_LCD_driver_test
- 程序运行时在LCD上显示内部字符集。可以通过按键K1和K2控制其滚动显示。-procedures when displayed on the LCD internal character set. Through keystroke K1 and K2 control its rolling display.
DV710_Key_driver_test
- 基于ST公司的str710芯片的DV710开发板。通过按动K1、K2、K3分别点亮三3个通用LED指示灯。按键松开时相应LED熄灭。-based company str710 chip DV710 Development Board. By pressing the K1, K2, K3 were lit three three generic LED indicator. Keys splayed out at the corresp
DV710_USB_driver_test
- 基于ST公司的STR710芯片的DV710开发板。程序演示了一个USB鼠标的应用。 运行时用USB线连接开发板与PC机,PC将自动识别出设备类型并准备驱动。当一切配置完成后(此时L3会亮起),可以用板上的按键来模拟鼠标动作(K1 左,K2 上,K3 下,K4 右,K5 鼠标左键,K2与K3同时按下 鼠标右键)。 -based company ST
graph1M
- 图形的相关的测试计算.当你输入图节点.程序会提示graph1M.cpp运行结果: 输入图的点数n=5 输入选择无向(权)与有向(权)图的值k1,k2: -graphics related testing calculation. When you enter the map nodes. Procedures will prompt graph1M.cpp running results : map input n = 5
00002
- 并且在卷积码编码过程中,添零数为k1*(L-1)=2,(注:L=3),再对序列进行图示的映射,可通过以下程序实现:-in convolution coding process, the number of zero-Tim k1 * (L-1) = 2, (Note : L = 3), then right sequence shows the mapping process can be achieved through the fo
k1
- 这里是C#.net2005的界面编程,非常适合初学者学习和使用。全部演绎一遍会对界面编程有个一个理解。-This is the C#. Net2005 programming interface, very suitable for beginners to learn and use. All interpretations will again have a programming interface to an understan
K1-K4_LED
- 通过K1——K4键来控制led灯的变化,并附带仿真图,调试以通过-K1- K4 key to control led lights, along with simulation diagram debugging through
08-K1~K5-Control-2Bits-SEGDSY
- K1~K5控制两位数码管的开关、加减与清0操作-K1 ~ K5 control two digital tube switch, addition and subtraction cleared operation
08-K1~K5-Control-2Bits-SEGDSY
- K1~K5按键控制两位7段数码管,可以通过按键开关实现加减与清0操作-K1 ~ K5 buttons control two 7-segment digital tube can be to achieve subtraction cleared through the key switch operation
K1-K4-packet-control-LED
- 每次按下 K1 时递增点亮一只LED,全亮时再次按下则再次循环开始, K2按下后点亮上面4 只LED,K3 按下后点亮下面4 只LED,K4 按下后关闭所有LED-Each press K1 increments lit a LED full brightness when pressed again, the cycle begins again after 4 LED lit above press K2, K3 Press l
K1-K4-packet-control-LED
- 每次按下 K1 时递增点亮一只 LED,全亮时再次按下则再次循环开始, K2 按下后点亮上面 4 只 LED,K3 按下后点亮下面 4 只 LED,K4 按下后关闭所有 LED -Each press K1 increments lit a LED full brightness when pressed again, the cycle begins again after 4 LED lit above press K2,
K1---K4-LED-shift-control
- 按下K1时,P0口LED上移一位; 按下K2时,P0口LED下移一位; 按下K3时,P2口LED上移一位;按下K4时,P2口LED下移一位 -The P2 port LED Down a press K1 P0 port LED shift one K2, Press, P0 port LED Down A Press K3, P2 port LED shift one press K4 position