摘要: module key (clk,rst,key_up,led);input clk,rst,key_up;output reg [3:0] led;parameter T10ms=31'd2_000_00;reg clk_state;reg [31:0] cnt;parameter state_in 阅读全文
posted @ 2016-03-08 21:11 luxiaolai 阅读(856) 评论(0) 推荐(0) 编辑
摘要: 51单片机按键双击 关键字:51单片机 按键双击 //hnrain 改 //适用于CEPARK 51开发板 /****************************************************************************************** **** 阅读全文
posted @ 2016-03-08 09:10 luxiaolai 阅读(1021) 评论(0) 推荐(0) 编辑