fbsd_gpio_py
fbsd_gpio_py copied to clipboard
CFFI-Based Python Bindings for FreeBSD libgpio
Results
3
fbsd_gpio_py issues
Sort by
recently updated
recently updated
newest added
This code won't work because 0 evaluates to false. ``` my_led = GpioPin(9, unit=0) my_led(0) ``` The call method evaluates the 0 as a False rather than explicitly testing value...
The GpioPin.__call__ method tests value for boolean truth when compute it's behavior, setting or getting the pin's value. This means that it cannot set a pin to 0 or any...
Hi! I used this library for my project and wrote [this article](https://github.com/yzgyyang/guide/blob/master/BeagleBone_FreeBSD_SPI_Setup.md). I implemented the spi bit banging functions myself without realizing there exists an abstraction in this library! I...