Component: Potentiometer (Slider) (Analog Input): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| Line 35: | Line 35: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetAverageByte''' | ||
|- | |- | ||
| colspan="2" | Read the ADC as a byte | | colspan="2" | Read the ADC as a byte | ||
| Line 59: | Line 59: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetAverageInt''' | ||
|- | |- | ||
| colspan="2" | Read the ADC at full bit depth | | colspan="2" | Read the ADC at full bit depth | ||
| Line 83: | Line 83: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetByte''' | ||
|- | |- | ||
| colspan="2" | Read the ADC as a byte | | colspan="2" | Read the ADC as a byte | ||
| Line 97: | Line 97: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetInt''' | ||
|- | |- | ||
| colspan="2" | Read the ADC at full bit depth | | colspan="2" | Read the ADC at full bit depth | ||
| Line 111: | Line 111: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetString''' | ||
|- | |- | ||
| colspan="2" | Reads the ADC as a direct voltage | | colspan="2" | Reads the ADC as a direct voltage | ||
| Line 125: | Line 125: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetVoltage''' | ||
|- | |- | ||
| colspan="2" | Reads the ADC as a direct voltage | | colspan="2" | Reads the ADC as a direct voltage | ||
| Line 140: | Line 140: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Revision as of 14:23, 13 July 2026
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Analog Input |
Potentiometer (Slider) component
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Pot_Slider_Gdi.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Pot_Slider_Gdi.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetAverageByte
| GetAverageByte | |
| Read the ADC as a byte | |
| NumSamples | |
| DelayUs | |
| Return | |
GetAverageInt
| GetAverageInt | |
| Read the ADC at full bit depth | |
| NumSamples | |
| DelayUs | |
| Return | |
GetByte
| GetByte | |
| Read the ADC as a byte | |
| Return | |
GetInt
| GetInt | |
| Read the ADC at full bit depth | |
| Return | |
GetString
| GetString | |
| Reads the ADC as a direct voltage | |
| Return | |
GetVoltage
| GetVoltage | |
| Reads the ADC as a direct voltage | |
| Return | |