For Hepta-Sat Lite

HeptaTemp.h

Committer:
heptasat2021
Date:
2021-08-17
Revision:
8:3cb7f1ea12bf
Parent:
7:79fba3155857

File content as of revision 8:3cb7f1ea12bf:

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

class HeptaTemp
{
public:
    HeptaTemp(PinName pin);
    void temp_sense(float* temp);
    void temp_sense_u16(char* temp_u16);
    void temp_sensing_vol(float* voltage);

private:
    AnalogIn _pin;
};

#endif