程序代码如下#include#define uchar unsigned char#define uint unsigned intuchar code Pattern_P0[]={ 0xFC,0xF9,0xF3,0xE7,0xCF,0x9F,0x3F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, 0xE7,0xD8,0xBD,0x7E,0 ...<全部>
- 80
#include #define uint unsigned int #define uchar unsigned char sbit d1=P1^0; sbit dula=P2^6; sbit wela=P2^7; sbit Key1=P3^4; uchar code table[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f, 0x6f,0x6 ...<全部>
- 149
51单片机自动打铃C语言程序:#include"reg51.h"#include"intrins.h"#define uchar unsigned char #define uint unsigned int uchar code DSY_CODE[] = {0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};// ...<全部>
- 58
51单片机自动打铃C语言程序