Package com.tccc.kos.core.service.gpio
Interface GpioListener
- All Known Implementing Classes:
GpioInputPin
public interface GpioListener
Listener for gpio events.
- Version:
- 2025-06-19
-
Method Summary
Modifier and TypeMethodDescriptionvoidpinChanged(int pin, boolean state) Called when an input pin changes state.
-
Method Details
-
pinChanged
void pinChanged(int pin, boolean state) Called when an input pin changes state.- Parameters:
pin- the pin numberstate- the pin state
-