Class pypisoundmicro::encoder::Encoder#
Inherits the following classes: Element, Element
Public Functions#
Type | Name |
---|---|
Self | setup (Type cls, Union name, Pin pin_a, PinPull pull_a, Pin pin_b, PinPull pull_b) |
int | get_value (self self) |
int | set_opts (self self, EncoderOpts opts) |
EncoderOpts | get_opts (self self) |
Pin | get_pin_b (self self) |
PinPull | get_pin_pull (self self) |
PinPull | get_pin_b_pull (self self) |
Self | setup (Type cls, Union name, Pin pin_a, PinPull pull_a, Pin pin_b, PinPull pull_b) |
int | get_value (self self) |
int | set_opts (self self, EncoderOpts opts) |
EncoderOpts | get_opts (self self) |
Pin | get_pin_b (self self) |
PinPull | get_pin_pull (self self) |
PinPull | get_pin_b_pull (self self) |
setup [1/2]#
Self pypisoundmicro::encoder::Encoder::setup (
Type cls,
Union name,
Pin pin_a,
PinPull pull_a,
Pin pin_b,
PinPull pull_b
)
get_value [1/2]#
int pypisoundmicro::encoder::Encoder::get_value (
self self
)
set_opts [1/2]#
int pypisoundmicro::encoder::Encoder::set_opts (
self self,
EncoderOpts opts
)
get_opts [1/2]#
EncoderOpts pypisoundmicro::encoder::Encoder::get_opts (
self self
)
get_pin_b [1/2]#
Pin pypisoundmicro::encoder::Encoder::get_pin_b (
self self
)
get_pin_pull [1/2]#
PinPull pypisoundmicro::encoder::Encoder::get_pin_pull (
self self
)
get_pin_b_pull [1/2]#
PinPull pypisoundmicro::encoder::Encoder::get_pin_b_pull (
self self
)
setup [1/2]#
Self pypisoundmicro::encoder::Encoder::setup (
Type cls,
Union name,
Pin pin_a,
PinPull pull_a,
Pin pin_b,
PinPull pull_b
)
get_value [1/2]#
int pypisoundmicro::encoder::Encoder::get_value (
self self
)
set_opts [1/2]#
int pypisoundmicro::encoder::Encoder::set_opts (
self self,
EncoderOpts opts
)
get_opts [1/2]#
EncoderOpts pypisoundmicro::encoder::Encoder::get_opts (
self self
)
get_pin_b [1/2]#
Pin pypisoundmicro::encoder::Encoder::get_pin_b (
self self
)
get_pin_pull [1/2]#
PinPull pypisoundmicro::encoder::Encoder::get_pin_pull (
self self
)
get_pin_b_pull [1/2]#
PinPull pypisoundmicro::encoder::Encoder::get_pin_b_pull (
self self
)