Servo that turns towards heat source with temperature reading display.

Dependencies:   mbed

tempSnsr.h

Committer:
bmichael21
Date:
2019-01-14
Revision:
17:fc23cf904932
Parent:
11:362594298828

File content as of revision 17:fc23cf904932:

#ifndef TEMPSNSR_H
#define TEMPSNSR_H
#include "mbed.h"

extern AnalogIn tempSnsr1;
extern AnalogIn tempSnsr2;
extern float curDiff;
extern float prevDiff;
extern float temp1;
extern float temp2;

float highTemp();
void avgTemps();
void updateTempDifference();

#endif