lib para o framework sgam

Dependencies:   MPU6050 Grove_temperature

Dependents:   example_smart-grid

peripheral/Sensor.h

Committer:
AndersonIctus
Date:
2019-06-01
Revision:
1:53edfdd6ac03
Child:
3:f998244e9f80

File content as of revision 1:53edfdd6ac03:

#ifndef SGAM_SENSOR_H
#define SGAM_SENSOR_H

#include "mbed.h"

class Sensor {
public: 
    Sensor() { } ;
    virtual ~Sensor();

    virtual void* getValue() = 0;
    virtual void readOcurred( void* (*callBack)(void* value), float timeout = 0.0) = 0;
};

#endif // SGAM_SENSOR_H