Component: Potentiometer (Slider) (Analog Input): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 34: | Line 34: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAverageByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAverageByte''' | ||
|- | |- | ||
| Line 58: | Line 58: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAverageInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetAverageInt''' | ||
|- | |- | ||
| Line 82: | Line 82: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByte''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetByte''' | ||
|- | |- | ||
| Line 96: | Line 96: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInt''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetInt''' | ||
|- | |- | ||
| Line 110: | Line 110: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetString''' | ||
|- | |- | ||
| Line 124: | Line 124: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetVoltage''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetVoltage''' | ||
|- | |- | ||
Revision as of 14:17, 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 | |