class GpioConfiguration

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
port_numberintPort number (Base extension port is port 0)You can manipulate the field port_number as if it were a regular field. To clear the value of port_number and reset it to the default value for its type, you call the ClearField() method of the Message interface.
pin_configurationsGpioPinConfigurationPin configuration listRepeated message fields are represented as an object that acts like a Python sequence. However, You must use add() instead of append(). It also has an extend() function that appends an entire list of messages, but makes a copy of every message in the list.

Parent topic: Base (Python)