Searched refs:GroveLight (Results 1 – 8 of 8) sorted by relevance
21 struct sensor_t GroveLight::sensorDescription = {40 Sensor * GroveLight::createSensor(int pollFd) { in createSensor()41 return new GroveLight(pollFd, 0); in createSensor()44 void GroveLight::initModule() { in initModule()48 GroveLight::GroveLight(int pollFd, int pin) : upm::GroveLight(pin), pollFd(pollFd) { in GroveLight() function in GroveLight53 GroveLight::~GroveLight() {} in ~GroveLight()55 int GroveLight::pollEvents(sensors_event_t* data, int count) { in pollEvents()60 int GroveLight::activate(int handle, int enabled) { in activate()
31 class GroveLight : public Sensor, public upm::GroveLight { class38 GroveLight(int pollFd, int pin);43 ~GroveLight() override;
142 GroveLight::GroveLight(unsigned int pin) in GroveLight() function in GroveLight152 GroveLight::~GroveLight() in ~GroveLight()157 int GroveLight::value() in value()165 float GroveLight::raw_value() in raw_value()
213 class GroveLight: public Grove {220 GroveLight(unsigned int pin);224 ~GroveLight();
35 upm::GroveLight* light = new upm::GroveLight(0); in main()
37 upm_grove.GroveLight gl = new upm_grove.GroveLight(2); in main()
27 light = grove.GroveLight(0)
29 var light = new groveSensor.GroveLight(0);