上一页 1 2 3 4 5 6 ··· 33 下一页
摘要: STC8_单片机供电电压采集程序 12位ADC :4096 10位ADC :1024 STC8H8K64U 供电电压采集程序: ack_buf_Battery[3] = (1.19f * 4096) / Get_ADCResult(15); STC8G1K08A 供电电压采集程序: ack_buf_ 阅读全文
posted @ 2026-10-22 12:40 Q&25 阅读(12) 评论(0) 推荐(0)
摘要: DS1302_WriteByte部分代码解释 0x80 本身是8 位二进制数:1000 0000,在 C 语言里如果是 unsigned char 就是标准 8 位数据。 for (i=0;i<8;i++) { DS1302_IO=Command&(0x01<<i); DS1302_SCLK=1; 阅读全文
posted @ 2026-10-22 10:52 Q&25 阅读(10) 评论(0) 推荐(0)
摘要: ![图片](https://img2024.cnblogs.com/blog/3732387/202610/3732387-20261020165038730-1119638818.png) 阅读全文
posted @ 2026-10-20 16:51 Q&25 阅读(9) 评论(0) 推荐(0)
摘要: ![图片](https://img2024.cnblogs.com/blog/3732387/202610/3732387-20261020163505960-1898248413.png) ![图片](https://img2024.cnblogs.com/blog/3732387/202610/3732387-20261020163514483-635256303.png) 阅读全文
posted @ 2026-10-20 16:36 Q&25 阅读(9) 评论(0) 推荐(0)
摘要: 指针应用示例 u8 ZigBee_delay = 10; u8 *p_delay = &ZigBee_delay; MyDelay_ms(*p_delay); 前提:u8 是 unsigned char 的别名;MyDelay_ms(u16 ms) 函数,参数接收16位无符号整型。 u8 ZigBe 阅读全文
posted @ 2026-10-20 15:25 Q&25 阅读(12) 评论(0) 推荐(0)
摘要: Python GUI 界面,三种布局方式、EXE打包(2) 一、三种布局方式 pack () 流式布局,适合简单页面 从上往下 / 从左往右自动排列,适合简单界面 tk.Label(root,text="A").pack(side="left", padx=5) tk.Label(root,text 阅读全文
posted @ 2026-10-18 22:29 Q&25 阅读(49) 评论(1) 推荐(0)
摘要: Python GUI 界面,两种常用方案(1) 方案 1:tkinter,Python 自带,不用额外安装,最简单 import tkinter as tk from tkinter import messagebox # 创建主窗口 root = tk.Tk() root.title("Pytho 阅读全文
posted @ 2026-10-17 22:52 Q&25 阅读(26) 评论(1) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/3732387/202610/3732387-20261016212150103-922826072.png) 阅读全文
posted @ 2026-10-16 21:22 Q&25 阅读(12) 评论(0) 推荐(0)
摘要: STC8H8K64U_循环体非阻塞实现串口数据处理 #include "config.h" #include "STC8G_H_GPIO.h" #include "STC8G_H_UART.h" #include "STC8G_H_Delay.h" #include "STC8G_H_NVIC.h" 阅读全文
posted @ 2026-10-16 18:59 Q&25 阅读(30) 评论(1) 推荐(0)
摘要: 10mil / 1oz PCB走线载流量 1oz铜 = 约1.37mil(35μm)铜厚;10mil线宽,截面积 = 10 × 1.37 = 13.7 mil² 外层走线(表层,散热好) 温升 10℃(保守设计):≈0.8~1.0A 温升 20℃(常规):≈1.1~1.4A 温升 30℃:≈1.4~ 阅读全文
posted @ 2026-10-15 12:34 Q&25 阅读(34) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 33 下一页