Home
last modified time | relevance | path

Searched refs:GroveLight (Results 1 – 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/sensors/mraa/sensors/
DGroveLight.cpp21 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 GroveLight
53 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()
DGroveLight.hpp31 class GroveLight : public Sensor, public upm::GroveLight { class
38 GroveLight(int pollFd, int pin);
43 ~GroveLight() override;
/hardware/bsp/intel/peripheral/libupm/src/grove/
Dgrove.cxx142 GroveLight::GroveLight(unsigned int pin) in GroveLight() function in GroveLight
152 GroveLight::~GroveLight() in ~GroveLight()
157 int GroveLight::value() in value()
165 float GroveLight::raw_value() in raw_value()
Dgrove.h213 class GroveLight: public Grove {
220 GroveLight(unsigned int pin);
224 ~GroveLight();
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgrovelight.cxx35 upm::GroveLight* light = new upm::GroveLight(0); in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGroveLightSample.java37 upm_grove.GroveLight gl = new upm_grove.GroveLight(2); in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovelight.py27 light = grove.GroveLight(0)
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovelight.js29 var light = new groveSensor.GroveLight(0);