rppal
rppal copied to clipboard
A Rust library that provides access to the Raspberry Pi's GPIO, I2C, PWM, SPI and UART peripherals.
Whenever compiling for any arm musl target, I get tons of ioctl errors: ``` Compiling rppal v0.7.1 error[E0061]: this function takes at least 2 arguments but 3 arguments were supplied...
For some time I'm trying to find the best way to capture edge level events on a logical signal pin. I have been trying multiple libraries in multiple languages and...
Could we add an example of how to read a voltage, for example an analog sensor input connected to a SPI ADC? I'm trying to do this, but am getting...
We should be able ton convert InputPin to OutputPin and vice versa. This should be done by consuming the xxPin object and creating a new one. This would make the...
I've been testing my library that uses rppal's OutputPins and found that because the tests run in parallel there were issues when trying to create multiple output pins from the...
GPIO pins 2 & 3 do not support being pulled down. They are fixed pulled up [pinout.xyz](https://pinout.xyz/pinout/pin3_gpio2#). I did not know this and have been going a little crazy for...
I'm using this library on a Pi Zero W to interface with an old rotary phone, and switch transitions definitely aren't clean 100% of the time. Previously I have used...
This is about an issue that I've encountered while working on my first project involving GPIO and PWM, so apologies if the terminology is a bit off. I'm currently trying...
Some crates, for example https://docs.rs/embedded-nrf24l01/0.1.0/embedded_nrf24l01/setup/index.html use a function to return a mode that it wants the SPI peripheral to be. However, as far as I can tell, this can not...
Linux kernel provides timestamps for each GPIO event but it is not available in RPPAL API. It is stored in the `gpio::ioctl::Event` struct but is discarded and not returned in...