Class pypisoundmicro::gpio::Gpio#
Inherits the following classes: Element, Element
Public Functions#
Type | Name |
---|---|
Self | setup_input (Type cls, Union name, int pin, PinPull pull) |
Self | setup_output (Type cls, Union name, int pin, int high) |
PinDirection | direction (self self) |
PinPull | pull (self self) |
int | get_value (self self) |
int | set_value (self self, int high) |
Self | setup_input (Type cls, Union name, int pin, PinPull pull) |
Self | setup_output (Type cls, Union name, int pin, int high) |
PinDirection | direction (self self) |
PinPull | pull (self self) |
int | get_value (self self) |
int | set_value (self self, int high) |
setup_input [1/2]#
Self pypisoundmicro::gpio::Gpio::setup_input (
Type cls,
Union name,
int pin,
PinPull pull
)
setup_output [1/2]#
Self pypisoundmicro::gpio::Gpio::setup_output (
Type cls,
Union name,
int pin,
int high
)
direction [1/2]#
PinDirection pypisoundmicro::gpio::Gpio::direction (
self self
)
pull [1/2]#
PinPull pypisoundmicro::gpio::Gpio::pull (
self self
)
get_value [1/2]#
int pypisoundmicro::gpio::Gpio::get_value (
self self
)
set_value [1/2]#
int pypisoundmicro::gpio::Gpio::set_value (
self self,
int high
)
setup_input [1/2]#
Self pypisoundmicro::gpio::Gpio::setup_input (
Type cls,
Union name,
int pin,
PinPull pull
)
setup_output [1/2]#
Self pypisoundmicro::gpio::Gpio::setup_output (
Type cls,
Union name,
int pin,
int high
)
direction [1/2]#
PinDirection pypisoundmicro::gpio::Gpio::direction (
self self
)
pull [1/2]#
PinPull pypisoundmicro::gpio::Gpio::pull (
self self
)
get_value [1/2]#
int pypisoundmicro::gpio::Gpio::get_value (
self self
)
set_value [1/2]#
int pypisoundmicro::gpio::Gpio::set_value (
self self,
int high
)