Component: Potentiometer (Colour) (): Difference between revisions
Appearance
Added 'Old Versions' section Tags: Flowcode v10 Version |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
Potentiometer with black plastic knob with coloured cap. Cap and pointer colours can be changed in component properties. | Potentiometer with black plastic knob with coloured cap. Cap and pointer colours can be changed in component properties. | ||
== | ==Version information== | ||
Library Version, Component Version, Date, Author, Info | |||
6, 6.0, 05-12-24, MW,Icon edited so compatible with dark theme | |||
==Detailed description== | ==Detailed description== | ||
| Line 78: | Line 73: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
|- | |- | ||
| Line 118: | Line 113: | ||
| colspan="2" | If yes is slected After saving your project, the ADC value will be retained when your project is reloaded. | | colspan="2" | If yes is slected After saving your project, the ADC value will be retained when your project is reloaded. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Connections | ||
|- | |- | ||
|- | |- | ||
| Line 127: | Line 122: | ||
| colspan="2" | Analogue input channel - which pin is the analogue input conected to? | | colspan="2" | Analogue input channel - which pin is the analogue input conected to? | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Settings | ||
|- | |- | ||
|- | |- | ||
| Line 144: | Line 139: | ||
| width="90%" | Conversion speed | | width="90%" | Conversion speed | ||
|- | |- | ||
| colspan="2" | Clock setting to select how fast the ADC peripheral will perform an ADC conversion. The FRC setting is based on a RC time base and so will vary with temperature and pressure. Other settings are generally based on divisions of the master clock. | | colspan="2" | Clock setting to select how fast the ADC peripheral will perform an ADC conversion. The FRC setting is based on a RC time base and so will vary with temperature and pressure. Other settings are generally based on divisions of the master clock. | ||
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-14-icon.png]] | ||
| Line 156: | Line 151: | ||
| colspan="2" | Maximum number of digital bits the ADC can sample. 8 bit = ADC range 0 - 255 10 bit = ADC range 0 - 1023 12 bit = ADC range 0 - 4095 | | colspan="2" | Maximum number of digital bits the ADC can sample. 8 bit = ADC range 0 - 255 10 bit = ADC range 0 - 1023 12 bit = ADC range 0 - 4095 | ||
|} | |} | ||
==Component Source Code== | |||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_pot_Colour.fcfx FC_Comp_Source_pot_Colour.fcfx] | |||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_pot_Colour.fcfx FC_Comp_Source_pot_Colour.fcfx] | |||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.3 |
| Category |
Potentiometer (Colour) component
Potentiometer with black plastic knob with coloured cap. Cap and pointer colours can be changed in component properties.
Version information
Library Version, Component Version, Date, Author, Info 6, 6.0, 05-12-24, MW,Icon edited so compatible with dark theme
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
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_pot_Colour.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_pot_Colour.fcfx