メインコンテンツ

システム周辺装置

R2026b
GPIO や入力キャプチャなどのシステム周辺装置の構成と使用

さまざまなアーキテクチャで Arduino® ボードのハードウェア機能を利用して、GPIO ブロックを介したアナログ信号やデジタル信号の読み取りと書き込み、デバイス制御ブロックを介したデバイスの制御などのタスクを実行します。

ブロック

すべて展開する

Analog Input Common Block IconAnalog Inputアナログ入力ピンの電圧を測定
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 OutputArduino 上のデジタル出力ピンの論理状態を設定
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 以降)
Programming portSerial interface used for programming ESP32-S3 board (UART or USB) (R2026b 以降)
Prompt boot button press and release on ESP32-S3 boardOption 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 以降)
Prompt boot button press and release on ESP32 boardOption 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 以降)

トピック

注目の例