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

From Flowcode Help
Jump to navigationJump to search
Line 73: Line 73:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
  
Line 79: Line 81:
 
==Macro reference==
 
==Macro reference==
  
 +
===ReadPotentiometer2===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
Line 97: Line 100:
  
  
 +
===ReadPotentiometer1===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-

Revision as of 11:49, 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_EBM006v1.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_EBM006v1.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples




Macro reference

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


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



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.