文章分类 -  51单片机

摘要:uint8_t DHT11_ReadByte(void) { uint8_t byte = 0; for(uint8_t i = 0; i < 8; i++) { byte <<= 1; // 左移一位 byte |= DHT11_ReadBit(); // 读取一位数据 } return byte 阅读全文
posted @ 2025-06-26 20:38 微笑的''80 阅读(13) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_66540418/article/details/132414077 阅读全文
posted @ 2025-05-28 14:26 微笑的''80 阅读(5) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_66540418/article/details/132411795 阅读全文
posted @ 2025-05-28 14:23 微笑的''80 阅读(4) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_73240562/article/details/136456771 阅读全文
posted @ 2025-05-13 00:48 微笑的''80 阅读(5) 评论(0) 推荐(0)
摘要:#include "SN8F5701.H" /******************************************************************************\ * * @brief main PZ-PA026 Project * * @note none 阅读全文
posted @ 2025-05-11 23:53 微笑的''80 阅读(4) 评论(0) 推荐(0)
摘要:#include <STC89C5xRC.H> void delay(unsigned int ms) { unsigned int i, j; for (i = ms; i > 0; i--) { for (j = 125; j > 0; j--) ; } } int i; int main() 阅读全文
posted @ 2025-05-03 23:30 微笑的''80 阅读(4) 评论(0) 推荐(0)
摘要:#include <REGtenxTM52FN8276.h> #include <intrins.h> #include "tm52fn8276_bsp.h" /* 快时钟系统主频为 14.7456M/2 = 7.3728M */ void bsp_clock_init() { SELFCK = 0 阅读全文
posted @ 2025-04-27 06:52 微笑的''80 阅读(4) 评论(0) 推荐(0)
摘要:#include <STC89C5xRC.H> void delay(unsigned int ms) { unsigned int i, j; for (i = ms; i > 0; i--) { for (j = 125; j > 0; j--) ; } } int i; int main() 阅读全文
posted @ 2025-04-03 19:49 微笑的''80 阅读(8) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/huang_daoyi/article/details/138923831 阅读全文
posted @ 2024-10-07 15:42 微笑的''80 阅读(32) 评论(0) 推荐(0)
摘要:查看代码 #include <reg51.h> //特殊寄存器头文件 #include <stdio.h> //标准输入输出库函数原型声明头文件 #define MONITOR51 1 #if defined(MONITOR51) //是否使用Monitor-51调试 char code reser 阅读全文
posted @ 2024-03-13 13:01 微笑的''80 阅读(35) 评论(0) 推荐(0)