Comments (6)
According to ffbf543, the correct description might be:
sets threshold to x, which will get smaller by touching the pin. In the driver a sensor value beneath that threshold, will trigger a button touch.
@Staars
Can you say anything about this?
from docs.
It’s been awhile that I played with the touch pins.
Yes, this looks like a copy-paste-error, but I am not sure, if my initial implementation was altered later on.
You can simply test the calibration process on the console. The initial idea was indeed to set the threshold value with TouchThres
for a touch button.
I must take a look at the code, if things have changed …
from docs.
… and indeed, TouchNum
was removed.
I guess, that Theo did some testings and found, that sensing the value of the touch pins over multiple loops, did not justify the resulting lag for the benefit of filtering out spikes. It is possible, that these sensing errors are less frequent with the newer SDK, than I did see when I did my initial testing.
Anyway, this command is gone and the touch button is a bit faster now, although measuring is technically not super quick.
from docs.
Thanks for clarifying.
Do you intend to edit the page?
Or should I create a PR to remove the command from the docs?
from docs.
I am sorry that it took so long. Should be correct now.
from docs.
Great. Thanks.
Just for protocol.
It is this Commit: 117d6dd
from docs.
Related Issues (20)
- Formatting issue for MPU-6050 HOT 1
- 404 error on link in documentation HOT 2
- Please provide List of JSON [{'command':'Description'}] for Flutter app compatibility.
- contradictory description for SwitchMode HOT 3
- Power state on LC-Tech Relay X2 not restored HOT 6
- docs/Sonoff-DIY.md: $HASH is the sha256sum of the firmware file HOT 1
- Timezone Errors? HOT 1
- Please provide List of JSON [{'command':'Description'}] for tasmota Opentherm HOT 1
- INA3221 in firmware builds table HOT 1
- Builds page formatting issue HOT 6
- Correct LOGAREX Config HOT 1
- Add frequency read to PZEM004
- Universal Display Driver: Missing parameters for touchscreen driver XPT2046
- Please add the new feature to documentation
- Add MQTT autodiscovery docs HOT 3
- Request: Add description of `tasmota-4M.bin` build to Firmware-Builds page HOT 2
- ESP32 Firmware Variants are not documented
- broken link to "flash files"
- BLErry is not referenced anywhere HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.