主要内容

系统外设

R2026b
配置和使用 GPIO、输入捕获等系统外设

利用具有不同架构的 Arduino® 板的硬件功能执行任务,例如通过 GPIO 模块读写模拟和数字信号,以及通过设备控制模块控制设备。

模块

全部展开

Analog Input Common Block IconAnalog InputMeasure voltage of analog input pin
Analog Output blockAnalog OutputGenerate voltage on the specified DAC pin
Arduino Analog Input SAMD IconAnalog Input SAMDRead ADC register value after ADC conversion at the analog pin of Arduino SAMD21 core (自 R2023b 起)
Arduino Analog Input AVR IconAnalog Input AVRRead ADC register value after ADC conversion at analog pin of Arduino AVR core (自 R2024a 起)
Arduino Analog Input Teensy 4 IconAnalog Input TeensyRead ADC register value after conversion at Teensy 4.0 and 4.1 analog pins and trigger conversions from FlexPWM events (自 R2026b 起)
Arduino Digital Input blockDigital InputGet logical state of digital input pin on Arduino
Digital Output blockDigital OutputSet logical state of digital output pin on Arduino
Arduino 12x8 Matrix12x8 MatrixGraphically create a 12x8 binary matrix to define LED patterns for display (自 R2026a 起)
Arduino 12x8 LED Matrix12x8 LED MatrixDisplay custom LED patterns on 12x8 LED matrix on Arduino Uno R4 Wi-Fi board (自 R2026a 起)
Arduino Common PWM IconPWM CommonGenerate pulse width modulated signal on analog output pin
Arduino Advanced SAMD PWM IconPWM SAMDGenerate pulse width modulated signal on analog output pin of Arduino SAMD21 core (自 R2023b 起)
Arduino Advanced AVR PWM IconPWM AVRGenerate pulse width modulated signal on analog output pin of Arduino AVR core (自 R2024a 起)
Arduino Advanced Teensy4 PWM IconPWM TeensyGenerate pulse width modulated waveform on Teensy 4.0 and 4.1 output pins and enable PWM interrupts (自 R2026b 起)
Input Capture block iconInput CaptureMeasure frequency and duty cycle of external input signal
Arduino NeoPixel Block IconNeoPixelControl color and brightness of RGB and RGBW Adafruit NeoPixel LED strip (自 R2024a 起)
Arduino ESP32 Touch SenseESP32 Touch SenseRead state of capacitive touch pins on Arduino-compatible ESP32 and ESP32-S3 boards (自 R2026a 起)

模型设置

全部展开

模块ESP32-S3 module variant for target hardware (自 R2026b 起)
板ESP32-S3 development board variant for target hardware (自 R2026b 起)
编程端口Serial interface used for programming ESP32-S3 board (UART or USB) (自 R2026b 起)
提示在 ESP32-S3 板上按下并释放启动按钮Option to enable prompt boot button and release on ESP32 hardware board during flashing (自 R2026b 起)
创建自定义板Generate a template file to define a custom ESP32-S3 board configuration (自 R2026b 起)
板Select a variant of ESP32-WROOM or ESP32-WROVER module (自 R2022a 起)
提示在 ESP32 板上按下并释放启动按钮Option to enable prompt boot button and release on ESP32 hardware board during flashing (自 R2022a 起)
创建自定义板Opens a template file in editor to add custom ESP32 Arduino compatible hardware board to support package (自 R2022b 起)

主题

精选示例