tm3d
/
owTools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Config Change.... 0xCC for temp measurement DS2438/DS18B20
[owTools.git]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index
1d9e64f
..
de17078
100755
(executable)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-285,10
+285,10
@@
void continuous(std::vector<owDevice*> *devices,int intervall,int headline,int s
for (owDevice* dev :*devices) {
for(int k=0;k<owi->maxrepeat;k++){
std::vector<uint8_t> data;
for (owDevice* dev :*devices) {
for(int k=0;k<owi->maxrepeat;k++){
std::vector<uint8_t> data;
-
//
data.push_back(0xCC);
-
//
data.push_back(0x44);
-
//
owi->Reset();
-
//
owi->Communicate(&data, 2, 0);
+ data.push_back(0xCC);
+ data.push_back(0x44);
+ owi->Reset();
+ owi->Communicate(&data, 2, 0);
dev->convertAll();
if (owi->log->last()<OWLOG_ERROR) break;
owi->log->clear();
dev->convertAll();
if (owi->log->last()<OWLOG_ERROR) break;
owi->log->clear();