Difference between revisions of "Component: Potentiometer (Colour) ()"
From Flowcode Help
Jump to navigationJump to searchTags: Flowcode v9 Version |
|||
| (11 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== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| − | |||
| − | |||
| − | |||
| Line 29: | Line 39: | ||
==Examples== | ==Examples== | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| Line 37: | Line 59: | ||
{{Fcfile|Potentiometer Example.fcfx|Potentiometer Example}} | {{Fcfile|Potentiometer Example.fcfx|Potentiometer Example}} | ||
| − | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==Macro reference== | ||
==Property reference== | ==Property reference== | ||
| Line 109: | 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 121: | 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 21:17, 27 January 2026
| Author | Matrix Ltd |
| Version | 1.3 |
| Category |
Contents
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