#include <sys/types.h>
Functions | |
int | tc_init (void) |
int | tc_read (signed int *temp) |
int tc_init | ( | void | ) |
Initialise the temperature sensor.
TwInit() has to be called before.
int tc_read | ( | signed int * | temp | ) |
Read a sample from the temperature sensor.
TwInit() has to be called before.
temp | (pointer to write temperature sample to) |