client_pigpio module
Declares constants and interfaces for compatibility with pigpio.
Note that the supported serial interface (UART) is taken from picod. See
client_picod.
Interfaces
- class gpiosvr.client_pigpio.PigpioMinimalApi
Contains the minimal interface from pigpio’s pi class, in an async version.
- class gpiosvr.client_pigpio.PigpioCallbackApi
Contains methods related to edge callbacks from pigpio’s pi class, in an async version.
- class gpiosvr.client_pigpio.PigpioPwmApi
Contains PWM-related methods from pigpio’s pi class, in an async version.
Constants and defaults
- class gpiosvr.client_pigpio.pigpio
Constants and methods for compatibility with pigpio.
- INPUT = 0
- OUTPUT = 1
- PUD_OFF = 0
- PUD_DOWN = 1
- PUD_UP = 2
- RISING_EDGE = 0
- FALLING_EDGE = 1
- EITHER_EDGE = 2
- TIMEOUT = 2
- PI_SCRIPT_INITING = 0
- PI_SCRIPT_HALTED = 1
- PI_SCRIPT_RUNNING = 2
- PI_SCRIPT_WAITING = 3
- PI_SCRIPT_FAILED = 4
- static tickDiff(t1, t2)