简易时钟keil代码

#include 
sbit RS=P3^0;
sbit RW= P3^1;
sbit  E=  P3^2;
unsigned char s[]={"0123456789"};
unsigned char s0[]={"CLOCK"};
unsigned char count=0,sec=22,min=22,hour=5;
void delay(unsigned int n)
{
	unsigned int i=0,j=0;
	for(i=0;i

你可能感兴趣的:(51单片机,单片机,stm32,蓝桥杯)