Component: Potentiometer (Analog Input)
From Flowcode Help
(Redirected from Component: ID 11ca2f38 de81 4812 9338 4b5a7a89a658)
Jump to navigationJump to searchAuthor | Matrix TSL |
Version | 1.0 |
Category | Analog Input |
Contents
Potentiometer component
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Potentiometer.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Potentiometer.fcfx
Detailed description
No detailed description exists yet for this component
Examples
A simple example that shows how to use some common functions of the potentiometer in conjunction with an LCD.
Macro reference
GetAverageByte
GetAverageByte | |
Read the ADC as a byte | |
- BYTE | NumSamples |
- BYTE | DelayUs |
- BYTE | Return |
GetAverageInt
GetAverageInt | |
Read the ADC at full bit depth | |
- BYTE | NumSamples |
- BYTE | DelayUs |
- UINT | Return |
GetByte
GetByte | |
Read the ADC as a byte | |
- BYTE | Return |
GetInt
GetInt | |
Read the ADC at full bit depth | |
- UINT | Return |
GetString
GetString | |
Reads the ADC as a direct voltage | |
- STRING | Return |
GetVoltage
GetVoltage | |
Reads the ADC as a direct voltage | |
- FLOAT | Return |