Skip to content

Commit 6c3b226

Browse files
committed
Document DS18b20 defines for DS2484
1 parent 7356c89 commit 6c3b226

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/i2c/drivers/WipperSnapper_I2C_Driver_DS2484.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
#ifndef WipperSnapper_I2C_Driver_DS2484_H
1717
#define WipperSnapper_I2C_Driver_DS2484_H
1818

19-
#define DS18B20_FAMILY_CODE 0x28
20-
#define DS18B20_CMD_CONVERT_T 0x44
21-
#define DS18B20_CMD_MATCH_ROM 0x55
22-
#define DS18B20_CMD_READ_SCRATCHPAD 0xBE
19+
#define DS18B20_FAMILY_CODE 0x28 ///< DS18B20 family code
20+
#define DS18B20_CMD_CONVERT_T 0x44 ///< Convert T command
21+
#define DS18B20_CMD_MATCH_ROM 0x55 ///< Match ROM command
22+
#define DS18B20_CMD_READ_SCRATCHPAD 0xBE ///< Read Scratchpad command
2323

2424
#include "WipperSnapper_I2C_Driver.h"
2525
#include <Adafruit_DS248x.h>

0 commit comments

Comments
 (0)