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
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 (Since R2020b)
NeoPixelControl color and brightness of RGB and RGBW Adafruit NeoPixel LED strip (Since R2024a)

Topics

Featured Examples