![]() |
發(fā)布時間: 2021-12-3 17:27
正文摘要:是一個基于熱敏電阻PT100的51單片機溫度采集系統(tǒng)程序,拜托各位大神看看,要怎么改啊 #include <reg51.h> //頭文件 #include <math.h> #define uchar unsigned char #define uint unsigned int sbit ... |
因為這個注釋有問題,應該為//define for unsigned int #define for unsigned int |
#define for unsigned int ???這是什么鬼? |
年老眼花沒看清 |
我能看到的是PO,沒見過用這個的,是P0還是PO,,,,,,,,,,還有一個是delay延時這里也很離譜。 |
說句實話, 你這代碼沒救了, 先學一點編程基礎,然后一個字一個字的自己碼吧,反正,我對能幫你把代碼修正到你可以正常使用是一定信心都沒有。 delay 函數(shù)就不說了,樓上已經說了,但是,改了那里一樣還是錯。 隨便翻翻,就一堆,關鍵還都是基礎錯誤。 ![]() |
好好看自己的delay函數(shù),這么明顯的。 |