51单片机:实现CSGO中C4下包功能
#include 
#include "Delay.h"
#include "LCD1602.h"
#include "MatrixKey.h"
#include "Buzzer.h"
unsigned long KeyNum;
unsigned long Password;
int InputCount=0,ErrorCount=0,i=0;
int state=0;
//判断状态0假1真,当密码输入正确的时候状态变更为1,未输入时和密码输入错误是仍然为0
int secret=7355608;
//secret为全局变量,储存密码,默认密码是7355608
  
void main()
{
	LCD_Init();
	LCD_ShowString(1,1,"C4");
	Delay(1000);
	LCD_ShowString(1,1,"DESINGER:MLS");
	//字符串内可以加空格,以取代刷新屏幕的作用
	Delay(1000);
    LCD_ShowString(1,1,"Password
                                    
                                    
                                         2025-05-06 12:35:34 
                                             56KB 
                                                51单片机
                                     
                                        
                                            1