STM32F103ZET6显示时间
有32X16大字体显示
OLED_ShowChar(48,48,t,16,0);//显示ASCII字符
OLED_Refresh_Gram();
t++;
if(t>'~')t=' ';
OLED_ShowNum(102,48,t,3,16);//显示ASCII字符的码值
delay_ms(500);
LED0=!LED0;
if(t1!=calendar.sec)
{
t1=calendar.sec;
OLED_ShowNum(0,0,calendar.w_year,4,16);
OLED_ShowNum(52,0,calendar.w_month,2,16);
OLED_ShowNum(82,0,calendar.w_date,2,16);
switch(calendar.week)
|