Component: Dual Potentiometer Trimmer (EBM006) (EBM Modules)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.1 (Release)
Category EBM Modules


Image Dual Potentiometer _ Trimmer (EBM006) component

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

Examples

No additional examples


Downloadable macro reference

ReadPotentiometer2

Read Potentiometer 2 as a byte or integer.

Parameters

BOOL Mode
0 = read as byte, 1 = read as int.


Return value

INT


ReadPotentiometer1

Read Potentiometer 1 as a byte or integer.

Parameters

BOOL Mode
0 = read as byte, 1 = read as int.


Return value

INT


Simulation macro reference

This component does not contain any simulation macros


Property reference

Channel 1

This property is of type Single analog pin and can be referenced with the variable name CHANNEL1.

No additional information


Channel 2

This property is of type Single analog pin and can be referenced with the variable name CHANNEL2.

No additional information


VRef voltage

This property is of type Signed integer and can be referenced with the variable name vrefvol.

+Vref voltage x 10mV

Default 500 = 5V

VRef option

This property is of type Fixed list of ints and can be referenced with the variable name vrefop.

Defines what is used as the ADC Vref source.

Conversion speed

This property is of type Fixed list of ints and can be referenced with the variable name convspd.

Clock setting to set how fast the ADC peripheral is driven.

Aquisition cycles

This property is of type Signed integer and can be referenced with the variable name actime.

Number of micro seconds to wait for the ACD input to charge before starting the analogue sample.