class GpioCommand

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
port_identifierintGpio port identifier (0 == base expansion port)You can manipulate the field port_identifier as if it were a regular field. To clear the value of port_identifier and reset it to the default value for its type, you call the ClearField() method of the Message interface.
pin_identifierintGpio pin identifierYou can manipulate the field pin_identifier as if it were a regular field. To clear the value of pin_identifier and reset it to the default value for its type, you call the ClearField() method of the Message interface.
actionintAction to perform on gpioYou can manipulate the field action as if it were a regular field. To clear the value of action and reset it to the default value for its type, you call the ClearField() method of the Message interface.
periodintPeriod, in ms, of GPIO action (applicable only for pulse commands)You can manipulate the field period as if it were a regular field. To clear the value of period and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)