Contiki-NG
|
Header file for the TMP102 Sensor Driver. More...
#include <stdio.h>
#include "i2c.h"
Go to the source code of this file.
Macros | |
Generic TMP102 sensor | |
#define | TMP102_ADDR 0x48 |
TMP102 slave address. | |
#define | TMP102_TEMP 0x00 |
TMP102 temperature data register. | |
Functions | |
void | tmp102_init (void) |
Initialiser for the TMP102 sensor driver. | |
uint8_t | tmp102_read (uint16_t *data) |
Get a temperature reading from the TMP102 sensor. | |
Header file for the TMP102 Sensor Driver.
Definition in file tmp102.h.