Use a touchscreen display to select which sensor measurement to display

Dependencies:   mbed DisplayModule24_demo_day10

tmp.h

Committer:
ldelaney17
Date:
2017-01-17
Revision:
3:4cd5469a146f
Child:
4:3d5abdf9ad0e

File content as of revision 3:4cd5469a146f:

#ifndef TEMP_H
#define TEMP_H

extern I2C connection;
extern Serial pc;
const int temp_addr = 0x90;

//initialize the sensor
void temp_init();

//reads the current temperature and prints it in degrees Celsius if DEBUG_MODE is defined
float get_temp();

#endif