Difference between revisions of "Component: Touch Slider (EBM014) (EBM Modules)"
(XML import - Pre 8.0 release) |
|||
Line 21: | Line 21: | ||
==Examples== | ==Examples== | ||
− | + | ||
+ | Sample program using the EBM014 - Touch Slider sensor. | ||
+ | |||
+ | Reads both sensors and displays the value on the LCD and LEDs | ||
+ | |||
+ | {{Fcfile|EBM014 - Test Program.fcfx|EBM014 Example}} | ||
Revision as of 10:06, 22 October 2018
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 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
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