pigpio
pigpio copied to clipboard
pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
* pigpio.h/.c: added API function for the test: test duration 50 ms, tolerance 5% * pigpiod: added option '-T' to (de)activate test, default: ON * added independent test program x_pigpio_clock,...
I'm using the [pigpio interrupt feature](https://abyz.me.uk/rpi/pigpio/cif.html#gpioSetISRFunc) to detect 50us pulses from an IMU that signals when data is ready to read. From the pigpio documentation, it seems that the default...
Consider this program ``` import pigpio gpio=pigpio.pi() # pins 18 and 24 are connected, pin 24 reads pin 18 gpio.set_mode(24, pigpio.INPUT) gpio.set_mode(18, pigpio.OUTPUT) scripta = gpio.store_script(b'w 18 1 mils 100...
Recently, I had to try cross-compiling pigpio in a github CI workflow, but I didn't want to bother modifying the Makefile. According to the Makefile: https://github.com/joan2937/pigpio/blob/c33738a320a3e28824af7807edafda440952c05d/Makefile#L2-L4 I thought that by...
Hello, this is according to my question [here](https://raspberrypi.stackexchange.com/questions/111786/unexpected-behavior-with-pigpiod-after-long-runtime). In short: - The pin-state is 0. After the command `pi.write(pin, 1)` the pin-state is still 0. (unexpected) - The connected LED...
Since `open` is used to check for the existance of the PID file before creating it, `errno` is always set to "File not found" after a call to `gpioInitialise`. Is...
Right now I get the following warning when using pigpio via cmake: ``` CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (rt) does not match the...
On Pi 3 B+, Raspbian bullseye With the following commands $ pigs spio 0 100000 1 12 $ pigs spiw 12 0x22 0x33 0xcc 0xff However CE1 works fine with...
Fixes #494