tm3d
/
owSlave2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change from 16 to 24 Byte Config Code
[owSlave2.git]
/
DS2450_SHT2X_BMP280
/
DS2450_SHT2X_BMP280.c
diff --git
a/DS2450_SHT2X_BMP280/DS2450_SHT2X_BMP280.c
b/DS2450_SHT2X_BMP280/DS2450_SHT2X_BMP280.c
index
d641086
..
78ab3b0
100644
(file)
--- a/
DS2450_SHT2X_BMP280/DS2450_SHT2X_BMP280.c
+++ b/
DS2450_SHT2X_BMP280/DS2450_SHT2X_BMP280.c
@@
-1,5
+1,4
@@
-
\r
-// Copyright (c) 2015, Tobias Mueller tm(at)tm3d.de
\r
+// Copyright (c) 2017, Tobias Mueller tm(at)tm3d.de
\r
// All rights reserved.
\r
//
\r
// Redistribution and use in source and binary forms, with or without
\r
// All rights reserved.
\r
//
\r
// Redistribution and use in source and binary forms, with or without
\r
@@
-45,8
+44,7
@@
extern void OWINIT();
extern void EXTERN_SLEEP();
\r
\r
uint8_t owid[8]={0x20, 0xA2, 0xD9, 0x84, 0x00, 0x16, 0x02, 0x5D};/**/
\r
extern void EXTERN_SLEEP();
\r
\r
uint8_t owid[8]={0x20, 0xA2, 0xD9, 0x84, 0x00, 0x16, 0x02, 0x5D};/**/
\r
-uint8_t config_info[16]={0x01,14,0x04,0x08, 0x06,0x09, 0x02,16,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
\r
-
\r
+uint8_t config_info[26]={0x01,14,0x04,0x08, 0,0, 0x02,16,0x02,0x07,0x07,0x00,14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
\r
#if (owid>128)
\r
#error "Variable not correct"
\r
#endif
\r
#if (owid>128)
\r
#error "Variable not correct"
\r
#endif
\r