Difference between revisions of "Component: Touch Slider (EBM014) (EBM Modules)"
Line 17: | Line 17: | ||
==[[File:Component Icon ef0c13ae_8a23_459c_947a_f0d2ad5f8bf1.png|Image]] Touch Slider (EBM014) component== | ==[[File:Component Icon ef0c13ae_8a23_459c_947a_f0d2ad5f8bf1.png|Image]] Touch Slider (EBM014) component== | ||
This board provides two touch slide areas for use with capacitive sensing. Therefore, | This board provides two touch slide areas for use with capacitive sensing. Therefore, | ||
− | two digital touch | + | two digital touch sliders can be implemented. |
This component directly interfaces with the EBM014 Sensors board. | This component directly interfaces with the EBM014 Sensors board. | ||
Revision as of 15:18, 23 August 2021
Author | Matrix TSL |
Version | 1.0 (Release) |
Category | EBM Modules |
Contents
Touch Slider (EBM014) component
This board provides two touch slide areas for use with capacitive sensing. Therefore, two digital touch sliders 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
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
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