Raptor:Analog Input
Jump to navigation
Jump to search
Return to the main Raptor page
Description
This block reads the value of an analog input. An analog input is typically a voltage input on an input pin to the module. This block outputs the raw analog to digital converter counts. The scaling factor to convert from counts to engineering units may be different for different inputs, sensors or modules. The Full ADC Count indicated on the block represents a guideline for the maximum expected ADC count based on the underlying hardware - values above this threshold may not correspond linearly to those within the range.
Inputs
Input | Type | Description | |
---|---|---|---|
None |
Outputs
Output | Type | Description |
---|---|---|
uint16 | Value of input. |
Parameters
Parameter | Type | Description |
---|---|---|
Hardware Resource | Specifies which input from the hardware is being read. | |
Pull Up/Down | Specifies pull up/down resistor for input on modules which support this function. | |
Range | Specifies the range for the input on modules which support this function. |