aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Cst816s.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-04-16 19:57:35 +0200
committerGitHub <noreply@github.com>2021-04-16 19:57:35 +0200
commit36e27842e146ddcfbcd5dcef4ebb2c92955242be (patch)
tree54c2b4f658a82d5effc5f1a19f5937006aa748cd /src/drivers/Cst816s.cpp
parenteb769fb60ecb8f96ecf6901082ec3f0610842af8 (diff)
parent3c413bdd5283f6ef95d23a4b7274722da680f039 (diff)
Merge pull request #263 from joaquimorg/0.16.0Update
Fix Issue #262 for 0.16.0 version
Diffstat (limited to 'src/drivers/Cst816s.cpp')
-rw-r--r--src/drivers/Cst816s.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp
index 03da76ce..e3a37b1b 100644
--- a/src/drivers/Cst816s.cpp
+++ b/src/drivers/Cst816s.cpp
@@ -31,7 +31,8 @@ void Cst816S::Init() {
twiMaster.Read(twiAddress, 0x15, &dummy, 1);
vTaskDelay(5);
twiMaster.Read(twiAddress, 0xa7, &dummy, 1);
-
+ vTaskDelay(5);
+
/*
[2] EnConLR - Continuous operation can slide around
[1] EnConUD - Slide up and down to enable continuous operation