Main Content

System Peripherals

Configure and use system peripherals such as GPIO, input capture, and so on

Leverage hardware capabilities of Arduino® boards with different architectures to perform tasks such as reading and writing analog and digital signals through GPIO blocks, and controlling devices through device control blocks.

Blocks

expand all

Analog InputMeasure voltage of analog input pin
Analog OutputGenerate voltage on the specified DAC pin
Analog Input SAMDRead ADC register value after ADC conversion at the analog pin of Arduino SAMD21 core (Since R2023b)
Analog Input AVRRead ADC register value after ADC conversion at analog pin of Arduino AVR core (Since R2024a)
Digital InputGet logical state of digital input pin on Arduino
Digital OutputSet logical state of digital output pin on Arduino
12x8 MatrixGraphically create a 12x8 binary matrix to define LED patterns for display (Since R2026a)
12x8 LED MatrixDisplay custom LED patterns on 12x8 LED matrix on Arduino Uno R4 Wi-Fi board (Since R2026a)
PWM CommonGenerate pulse width modulated signal on analog output pin
PWM SAMDGenerate pulse width modulated signal on analog output pin of Arduino SAMD21 core (Since R2023b)
PWM AVRGenerate pulse width modulated signal on analog output pin of Arduino AVR core (Since R2024a)
Input CaptureMeasure frequency and duty cycle of external input signal
NeoPixelControl color and brightness of RGB and RGBW Adafruit NeoPixel LED strip (Since R2024a)
ESP32 Touch SenseRead state of capacitive touch pins on Arduino-compatible ESP32 board (Since R2026a)

Topics

Featured Examples