Searched refs:GroveButton (Results 1 – 9 of 9) sorted by relevance
255 GroveButton::GroveButton(unsigned int pin) in GroveButton() function in GroveButton266 GroveButton::~GroveButton() in ~GroveButton()271 std::string GroveButton::name() in name()276 int GroveButton::value() in value()282 void GroveButton::installISR(mraa::Edge level, IsrCallback *cb) in installISR()288 void GroveButton::installISR(mraa::Edge level, void (*isr)(void *), void *arg) in installISR()298 void GroveButton::uninstallISR() in uninstallISR()
361 class GroveButton: public Grove {368 GroveButton(unsigned int pin);372 ~GroveButton();
36 upm::GroveButton* button = new upm::GroveButton(0); in main()
39 upm_grove.GroveButton button = new upm_grove.GroveButton(0); in main()
43 upm_grove.GroveButton b = new upm_grove.GroveButton(2); in main()
27 button = grove.GroveButton(0)
29 var button = new groveSensor.GroveButton(0);
31 class ProximityGPIO : public Sensor, public upm::GroveButton {
69 ProximityGPIO::ProximityGPIO(int pollFd, int pin) : upm::GroveButton(pin), pollFd(pollFd) { in ProximityGPIO()