Library Search
结果页星闪SLE透传模块 STM32驱动代码例程
在 元器件 / 技术栈 / 知识库 中找到 13 个匹配结果。
元器件
元器件
4 个技术栈
技术栈
1 个知识库
知识库
8 个 星闪SLE透传模块 STM32驱动代码例程 # 星闪SLE透传模块 STM32驱动代码例程
## 环境说明
- MCU: STM32F103C8T6
- HAL库版本: STM32F1xx HAL Driver
- IDE: Keil MDK / STM32CubeIDE
- 串口: USART2 (PA2 TX, PA3 RX) 连接星闪SLE模块
- 调试串口: USART3 (PB10 TX, PB11 RX) 连接USB-TTL… 3% MicroPython 代码例程 ```python
from machine import Pin, PWM, ADC
import time
# --- 输出测试:闪烁 LED ---
led = Pin(2, Pin.OUT)
for i in range(5):
led.toggle()
time.sleep(0.3)
# --- PWM 呼吸灯 ---
pwm = PWM(Pin(2), freq=1… 2% AS608 光学指纹传感器 — 代码例程 (STM32 + Arduino) # AS608 光学指纹传感器 — 代码例程
## 一、STM32 HAL 库驱动
```c
// as608.h
#ifndef __AS608_H__
#define __AS608_H__
#include "stm32f1xx_hal.h"
#include <stdint.h>
#include <string.h>
/* ========== 配置 ========== */… 2% OV2640 外部时钟版本驱动代码例程 # OV2640 外部时钟版本驱动代码例程
## 一、平台说明
- **主控平台**:FPGA (Xilinx/Intel) + 协处理MCU / STM32F407
- **时钟方案**:外部精准时钟直驱 XVCLK(PLL旁路)
- **开发环境**:Vivado + Vitis / STM32CubeIDE
---
## 二、SCCB 基础驱动
```c
#include "stm… 2% OV7725 外部时钟版本驱动代码例程 # OV7725 外部时钟版本驱动代码例程
## 一、平台说明
- **主控**:FPGA (Xilinx) + STM32 协处理 / STM32F407
- **时钟方案**:外部精准时钟直驱 XVCLK(PLL旁路)
- **SCCB地址**:0x42
---
## 二、SCCB 基础驱动
```c
#include "stm32f4xx_hal.h"
#define OV772… 2% Arduino) # OV7670 内部时钟版 驱动代码例程
## 一、STM32 平台 (HAL库) — DVP 接口驱动
### 1.1 GPIO 初始化
```c
// ov7670_stm32.h
#ifndef OV7670_H
#define OV7670_H
#include "stm32f4xx_hal.h"
#include <stdint.h>
/* SCCB 引脚定义 - 使用 I2… 2% OV2640 内部时钟版本驱动代码例程 # OV2640 内部时钟版本驱动代码例程
## 一、平台说明
- **主控平台**:ESP32 / ESP32-S3 / STM32F407
- **接口类型**:DVP 8位并行
- **通信协议**:SCCB(页寻址模式)
- **开发环境**:ESP-IDF / STM32CubeIDE
---
## 二、SCCB 驱动(页寻址模式)
```c
#include "stm32f4… 2% Python) void loop() {
uint8_t uid[7], uidLen;
if (nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, uid, &uidLen, 500)) {
Serial.print("UID: ");
for (uint8_t i = 0; i < uidLen; i++)… 2%