Difference between revisions of "Component: Dual Potentiometer - Trimmer (EBM006) (EBM Modules)"

From Flowcode Help
Jump to navigationJump to search
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_EBM006v1.fcfx FC_Comp_Source_EBM006v1.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/EBM006v1.fcfx FC_Comp_Source_temp/EBM006v1.fcfx]
  
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_EBM006v1.fcfx FC_Comp_Source_EBM006v1.fcfx]
+
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/EBM006v1.fcfx FC_Comp_Source_temp/EBM006v1.fcfx]
  
 
==Detailed description==
 
==Detailed description==
Line 73: Line 73:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
  
Line 81: Line 83:
 
==Macro reference==
 
==Macro reference==
  
===ReadPotentiometer2===
+
===ReadPotentiometer1===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPotentiometer2'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPotentiometer1'''
 
|-
 
|-
| colspan="2" | Read Potentiometer 2 as a byte or integer.&nbsp;
+
| colspan="2" | Read Potentiometer 1 as a byte or integer.&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 100: Line 102:
  
  
===ReadPotentiometer1===
+
===ReadPotentiometer2===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPotentiometer1'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPotentiometer2'''
 
|-
 
|-
| colspan="2" | Read Potentiometer 1 as a byte or integer.&nbsp;
+
| colspan="2" | Read Potentiometer 2 as a byte or integer.&nbsp;
 
|-
 
|-
 
|-
 
|-

Revision as of 12:00, 3 February 2023

Author Matrix TSL
Version 1.1
Category EBM Modules


Dual Potentiometer - Trimmer component

This board provides two rotary potentiometers. This component directly interfaces with the EBM006 Dual Trimmers sensors board.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_temp/EBM006v1.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/EBM006v1.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples





Macro reference

ReadPotentiometer1

Fc9-comp-macro.png ReadPotentiometer1
Read Potentiometer 1 as a byte or integer. 
Fc9-bool-icon.png - BOOL Mode
0 = read as byte, 1 = read as int. 
Fc9-s16-icon.png - INT Return


ReadPotentiometer2

Fc9-comp-macro.png ReadPotentiometer2
Read Potentiometer 2 as a byte or integer. 
Fc9-bool-icon.png - BOOL Mode
0 = read as byte, 1 = read as int. 
Fc9-s16-icon.png - INT Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-6-icon.png Channel 1
 
Fc9-type-6-icon.png Channel 2
 
Fc9-conn-icon.png Settings
Fc9-type-14-icon.png VRef voltage
+Vref voltage x 10mV Default 500 = 5V 
Fc9-type-16-icon.png VRef option
Defines what is used as the ADC Vref source. 
Fc9-type-16-icon.png Conversion speed
Clock setting to set how fast the ADC peripheral is driven. 
Fc9-type-14-icon.png Aquisition cycles
Number of micro seconds to wait for the ACD input to charge before starting the analogue sample.