Library Search
结果页NTC热敏电阻测温模块 — 代码例程
在 技术栈 中找到 8 个匹配结果。
技术栈
技术栈
8 个 Verilog / SystemVerilog ```verilog
// counter_4bit.v — 同步复位 + 使能的 4 位计数器
module counter_4bit (
input wire clk, // 时钟
input wire rst_n, // 异步复位(低有效)
input wire enable, //… 2% Spring Framework | 概念 | 说明 |
|---|---|
| Aspect | 切面,横切关注点的模块化 |
| Join Point | 连接点,方法执行点 |
| Advice | 通知,切面在连接点的行为 |
| Pointcut | 切入点,匹配连接点的表达式 |
| Weaving | 织入,将切面应用到目标对象 |
### 3.2 声明式事务实现原理
```java
@Transactional… 2% Qt # Qt 信号与槽——温度转换器
## 目标
演示 Qt 核心机制「信号与槽」:一个摄氏/华氏温度互转的小工具,输入即实时转换。
## 完整代码
### main.cpp
```cpp
#include <QApplication>
#include "TemperatureConverter.h"
int main(int argc, char *argv[]) {
QAppli… 2% PlatformIO // 状态报告
if (millis() - lastReport >= 5000) {
lastReport = millis();
Serial.print(F("["));
Serial.print(BOARD_NAME);
Serial.print(F("] 运行中 | 循环 #"));
Serial.… 2% STM32 HAL/LL // 流水灯定时 (200ms)
if (now - last_toggle_tick >= 200) {
last_toggle_tick = now;
led_shift();
}
// 按键检测 (每 10ms)
if (now - last_key_check >= 10) {… 2% SEGGER J-Link # 批量烧录(脚本循环)
for i in {1..100}; do
JFlash -openprj production.jflash \
-open "firmware_v1.2.hex" \
-auto \
-exit
echo "设备 #$i 完成"
done
```
### 5. 序列号 CSV 定制… 2% InfluxDB client = InfluxDBClient(url="http://localhost:8086", token="my-token", org="my-org")
write_api = client.write_api(write_options=SYNCHRONOUS)
sensors = {
'lab-401': {'location': '四楼实验室', 'floor':… 2% OpenOCD | 命令 | 作用 |
|------|------|
| `monitor reset halt` | 复位 MCU 并暂停 |
| `monitor flash write_image erase file.bin 0x08000000` | 烧录 .bin |
| `break function_name` | 函数断点 |
| `break *0x08001234` | 地址断点 |
|… 1%