Analog Input
Read ADC register value after ADC conversion at analog pin of Arduino AVR core
Since R2024a
Libraries:
Simulink Support Package for Arduino Hardware /
Advanced /
AVR
Description
Use the Analog Input block to read the value from an ADC register after analog to digital conversion on the Arduino® AVR analog pin. You can use the block to read up to three analog voltage outputs simultaneously.
Note
The Analog Input block supports C/C++ code generation. This feature allows you to generate C and C++ code using Embedded Coder®.
Ports
Output
Parameters
Version History
Introduced in R2024a