欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: 第一排是報錯,可以幫忙看一下嗎error C267:requires ANSI-style prototype [打印本頁]

作者: 小手辦的守護神    時間: 2024-1-20 17:49
標題: 第一排是報錯,可以幫忙看一下嗎error C267:requires ANSI-style prototype
main.c(13): error C267: 'DS1302_WriteByte': requires ANSI-style prototype
#include <REGX52.H>
#include"LCD1602.H"
#include"DS1302.H"
void DS1302_WriteByte();

unsigned char Second;

void main()
{
        LCD_Init();
        DS1302_Init();
        LCD_ShowString(1,1,"RTC");
        DS1302_WriteByte(0x80,0x03);
        Second=DS1302_ReadByte(0x81);
        LCD_ShowNum(2,1,Second,3);
  while(1)
        {

        }               
}

#include <REGX52.H>
#include"LCD1602.H"
#include"DS1302.H"
void DS1302_WriteByte();

unsigned char Second;

void main()
{
        LCD_Init();
        DS1302_Init();
        LCD_ShowString(1,1,"RTC");
        DS1302_WriteByte(0x80,0x03);
        Second=DS1302_ReadByte(0x81);
        LCD_ShowNum(2,1,Second,3);
  while(1)
        {

        }               
}


#include <REGX52.H>
#include"LCD1602.H"
#include"DS1302.H"
void DS1302_WriteByte();

unsigned char Second;

void main()
{
        LCD_Init();
        DS1302_Init();
        LCD_ShowString(1,1,"RTC");
        DS1302_WriteByte(0x80,0x03);
        Second=DS1302_ReadByte(0x81);
        LCD_ShowNum(2,1,Second,3);
  while(1)
        {

        }               
}






作者: Hephaestus    時間: 2024-1-20 21:34
void DS1302_WriteByte(void);




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1