OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
hardware_io.gpio.gpio_pin.GpioPin Class Reference

Describes one physical pin on a Raspberry Pi GPIO header. More...

Public Member Functions

bool is_gpio (self)
 Return whether this value identifies a GPIO pin.

Detailed Description

Describes one physical pin on a Raspberry Pi GPIO header.

Member Function Documentation

◆ is_gpio()

bool hardware_io.gpio.gpio_pin.GpioPin.is_gpio ( self)

Return whether this value identifies a GPIO pin.

Return values
TrueThe header position maps to a BCM GPIO number.
FalseThe position is power, ground, or otherwise non-GPIO.

The documentation for this class was generated from the following file:
  • hardware_io/gpio/gpio_pin.py