rpi_gpio library

Classes

RpiGpio
GPIO interface used for accessing GPIO on the Raspberry Pi.
RpiGpioInput
RpiGpioOutput
RpiGpioPwm

Functions

initialize_RpiGpio({bool i2c = true, bool spi = true, bool eeprom = true, bool uart = true, Completer<GpioException>? onError}) Future<RpiGpio>
Instantiate a new GPIO manager. By default, you cannot allocate the I2C or SPI pins as GPIO pins. If you want to use the I2C pins as GPIO pins, pass i2c: false. If you want to use the SPI pins as GPIO pins, pass spi: false.