Component: Touch Slider (EBM014) (EBM Modules)

From Flowcode Help
Jump to navigationJump to search


Author Matrix TSL
Version 1.0 (Release)
Category EBM Modules


Image Touch Slider (EBM014) component

This board provides two touch slide areas for use with capacitive sensing. Therefore, two digital touch slideers can be implemented. This component directly interfaces with the EBM014 Sensors board.

Examples

Sample program using the EBM014 - Touch Slider sensor.

Reads both sensors and displays the value on the LCD and LEDs

FC6 Icon.png EBM014 Example


Downloadable macro reference

GetTouchValue

Samples the touch sensor ADC value and returns it

Always samples both channels, but only returns the chosen channel

Parameters

BOOL Switch
0 = S1, 1 = S2


Return value

UINT


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.

ADC Channel number

Channel 2

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

No additional information


Minimum S1

This property is of type Unsigned integer and can be referenced with the variable name MinimumS1.

No additional information


Maximum S1

This property is of type Unsigned integer and can be referenced with the variable name MaximumS1.

No additional information


Minimum S2

This property is of type Unsigned integer and can be referenced with the variable name MinimumS2.

No additional information


Maximum S2

This property is of type Unsigned integer and can be referenced with the variable name MaximumS2.

No additional information