carrot/system/sensord/sensors/light_sensor.h

10 lines
214 B
C
Raw Normal View History

#pragma once
#include "file_sensor.h"
class LightSensor : public FileSensor {
public:
LightSensor(std::string filename);
bool get_event(MessageBuilder &msg, uint64_t ts = 0);
int shutdown() { return 0; }
};