Uses of Class
jpigpio.GPIOListener
Package | Description |
---|---|
jpigpio | |
jpigpio.packet |
-
Uses of GPIOListener in jpigpio
Methods in jpigpio with parameters of type GPIOListener Modifier and Type Method Description void
JPigpio. addCallback(GPIOListener listener)
Calls a user supplied function (a callback) whenever the specified GPIO edge is detected.
The user supplied callback receives three parameters, the GPIO, the level, and the tick.
If a user callback is not specified a default tally callback is provided which simply counts edges.void
Pigpio. addCallback(GPIOListener gpioListener)
Not implementedvoid
PigpioSocket. addCallback(GPIOListener gpioListener)
void
JPigpio. removeCallback(GPIOListener listener)
Remove callback listener object from notification thread.void
Pigpio. removeCallback(GPIOListener cgpioListener)
Not implementedvoid
PigpioSocket. removeCallback(GPIOListener gpioListener)
-
Uses of GPIOListener in jpigpio.packet
Subclasses of GPIOListener in jpigpio.packet Modifier and Type Class Description class
NotificationListener
NotificationListener is object, which after being registered with NotificationRouter (see class PigpioSocket) receives notifications coming from Pigpiod.