Analog Input
Measure the voltage of analog input pin
Add-On Required: This feature requires the Simulink Coder Support Package for NXP FRDM-K64F Board add-on.
Library
Simulink Coder Support Package for NXP FRDM-K64F Board
Description
Measure the voltage of an analog input pin to emit voltage in the range 0.0 to 1.0. The maximum voltage the block outputs is determined by the input reference voltage VREFH with a default value 3.3 volt.
Parameters
- Pin
Select an analog pin from the list of values. To view the pin mapping, click View Pin Map.
The GPIO Pin Map appears.
- Sample time
Specify how often this block reads the pin value in seconds.