@Test public void testName() { DigitalInput input = pin.as(DigitalInput.class); TestCase.assertNotNull(input.getName()); }
public String getName() { return String.format(NAME_FORMAT, getPin().getName()); }
AbstractDigitalInput extends AbstractPinFeature implements DigitalInput { public String getName() { return String.format(NAME_FORMAT, getPin().getName()); } }
AbstractDigitalInput extends AbstractPinFeature implements DigitalInput { public String getName() { return String.format(NAME_FORMAT, getPin().getName()); } AbstractDigitalInput(Pin pin); }
AbstractDigitalInput extends AbstractPinFeature implements DigitalInput { public String getName() { return String.format(NAME_FORMAT, getPin().getName()); } AbstractDigitalInput(Pin pin); String getName(); void setInterruptTrigger(Edge edge); void setInterruptDebounceMs(int milliSeconds); int getInterruptDebounceMs(); Edge getInterruptTrigger(); void addInterruptListener(InterruptListener listener); void removeInterruptListener(InterruptListener listener); List<InterruptListener> getInterruptListeners(); void clearInterruptListeners(); void fireInterruptEvent(InterruptEventArgs args); Signal readDebounced(int debounceTime); boolean areInterruptsEnabled(); void enableInterrupts(); void disableInterrupts(); }
AbstractDigitalInput extends AbstractPinFeature implements DigitalInput { public String getName() { return String.format(NAME_FORMAT, getPin().getName()); } AbstractDigitalInput(Pin pin); String getName(); void setInterruptTrigger(Edge edge); void setInterruptDebounceMs(int milliSeconds); int getInterruptDebounceMs(); Edge getInterruptTrigger(); void addInterruptListener(InterruptListener listener); void removeInterruptListener(InterruptListener listener); List<InterruptListener> getInterruptListeners(); void clearInterruptListeners(); void fireInterruptEvent(InterruptEventArgs args); Signal readDebounced(int debounceTime); boolean areInterruptsEnabled(); void enableInterrupts(); void disableInterrupts();  }