ADC Pin Element

The ADC pin element is used to read the voltage of an ADC pin.

The ADC pin element is located in the Element Toolbox within Studio’s Embedded tab.


The following properties can be changed for the ADC pin element:


The name of the element.


The ADC driver instance number to use. If unsure, leave it set to the default value.


The device’s ADC pin the element is connected to.

Number of Samples

The number of samples the ADC driver takes an average from before returning a value.


The length of time to block execution while awaiting a return value from the ADC pin.


The following triggers are available to execute events from within the ADC pin element:


Execute an event when the source element connected to the ADC pin triggers.

Raw Read

Execute an event when raw ADC pin data is read.

Voltage Read

Execute an event when the pin’s voltage is read.


The following abilities are available for the ADC pin element when its source element triggers:


Trigger the element(s) that follow the ADC pin element.

Read Raw

Read the pin’s raw data.

Read Voltage

Read the pin’s voltage.