mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-27 22:31:37 +01:00
CAP1188 correction: allow_multiple_touches to boolean value (#1635)
This commit is contained in:
parent
774b139f5f
commit
3ef41f655f
@ -32,7 +32,7 @@ required to be set up in your configuration for this sensor to work.
|
|||||||
address: 0x29
|
address: 0x29
|
||||||
reset_pin: 14
|
reset_pin: 14
|
||||||
touch_threshold: 0x40
|
touch_threshold: 0x40
|
||||||
allow_multiple_touches: 0x80
|
allow_multiple_touches: true
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: cap1188
|
- platform: cap1188
|
||||||
@ -49,7 +49,7 @@ The configuration is made up of two parts: The central component, and individual
|
|||||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor.
|
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor.
|
||||||
- **reset_pin** (*Optional*, :ref:`config-pin`): Set the pin that is used to reset the CAP1188 board on boot.
|
- **reset_pin** (*Optional*, :ref:`config-pin`): Set the pin that is used to reset the CAP1188 board on boot.
|
||||||
- **touch_threshold** (*Optional*, integer): The touch threshold for all channels. This defines the sensitivity for touch detection.
|
- **touch_threshold** (*Optional*, integer): The touch threshold for all channels. This defines the sensitivity for touch detection.
|
||||||
- ``0x00``: Maximum sensitivity - Most sensitive to touch
|
- ``0x01``: Maximum sensitivity - Most sensitive to touch
|
||||||
- ``0x20``: Default sensitivity
|
- ``0x20``: Default sensitivity
|
||||||
- ``0x40``: Medium sensitivity (I used this sensitivity when being used through a 3mm sheet of plastic)
|
- ``0x40``: Medium sensitivity (I used this sensitivity when being used through a 3mm sheet of plastic)
|
||||||
- ``0x80``: Minimum sensitivity - Least sensitive to touch
|
- ``0x80``: Minimum sensitivity - Least sensitive to touch
|
||||||
|
Loading…
Reference in New Issue
Block a user