51单片机热敏电阻测温查表程序.pdfVIP

  1. 1、本文档共6页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
51单片机热敏电阻测温查表程序.pdf

1. #includereg51.h 2. #includeLCD.h 3. #define uchar unsigned char 4. #define uint unsigned int 5. #define N 10 6. uchar bai,ge,shi,n; 7. uint temp,tp;temph,templ; 8. uint code ad_date[]={ 9. 1060,1060,1060,1100,1120,1140,1166,1180,1200,1220, 10. 1240,1320,1340,1360,1380,1400,1420,1440,1460,1480, 11. 1500,1520,1540,1560,1580,1600,1620,1640,1660,1680, 12. 1700,1720,1740,1760,1780,1800,1820,1840,1840,1860, 13. 1880,1900,1920,1940,1960,1980,2000,2020,2040,2060, 14. 2080,2100,2120,2140,2160,2180,2200,2220,2240,2260, 15. 2280,2300,2320,2340,2360,2380,2400,2420,2440,2460, 16. 2480,2500,2520,2540,2560,2580,2600,2620,2640,2660, 17. 2680,2700,2720,2740,2760,2780,2800,2820,2840,2860, 18. 2880,2900,2920,2920,2940,2960,2980,3000,3020,3040, 19. 3060,3080,3100,3120,3140,3160,3180,3200,3220,3240, 20. 3260,3280,3300,3320,3340,3360,3380,3400,3420,3440, 21. 3460,3480,3500,3520,3540,3560,3580,3600,3620,3640, 22. 3660,3680}; 23. uint code temperiture[]={ 24. 594,593,586,580,579,560,564,559,552,545, 25. 541,518,513,508,503,497,491,488,483,480, 26. 473,468,463,458,455,451,447,440,434,433, 27. 430,425,420,416,413,409,404,401,401,396, 28. 390,386,382,378,374,372,368,364,361,357, 29. 354,351,347,343,340,336,333,328,326,322, 30. 319,316,313,309,307,303,300,296,294,289, 31. 286,283,280,276,274,271,267,264,260,257, 32. 253,249,246,243,240,237,233,231,228,224, 33. 222,219,214,216,211,209,206,202,198,194, 34. 187,184,181,178,175,171,168,164,161,158, 35. 154,152,148,146,142,139,136,133,130,126, 36. 124,121,116,114,112,108,102,98,96,94, 37. 89,86}; 38. uchar code table[]= T:00.0`C; 39. uchar num=0; 40. uchar keynum,max=40,min=0; 41. uchar code Temp_max[]= Max:40`C,Temp_min[]= Min:00`C; 42. 43. sbit ad_wr=P3^6; 44. sbit ad_rd=P3^7; 45. sbit ad_cs=P3^5; 46. sbit ad_int=P

文档评论(0)

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档