206207208209210211212213214215216
// create and register gpio pin listener myButton3.addListener(new GpioPinListenerDigital() { @Override public void handleGpioPinDigitalStateChangeEvent(GpioPinDigitalStateChangeEvent event) { if(event.getState() == PinState.LOW)