RPi::PIGPIO::Assistant - Methods for reverse engeniering devices
This module is a helper that can be used to easely debug things on a GPIO
You can use this one-liner to monitor level changes on a gpio
perl -Ilib -MRPi::PIGPIO::Assistant -e "RPi::PIGPIO::Assistant->new('192.168.1.23')->intercept(gpio => 18);"
Note: This example assumes that pigpiod is running on the Raspberry Pi with the IP address 192.168.1.23
Creates a new RPi::PIGPIO::Assistant object
Params:
or
RPi::PIGPIO
Monitors a given GPIO for level changes
Usage:
$assistant->intercept(gpio => 18, pud => 0);
To install RPi::PIGPIO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPi::PIGPIO
CPAN shell
perl -MCPAN -e shell install RPi::PIGPIO
For more information on module installation, please visit the detailed CPAN module installation guide.