ADC class of PicoRuby

Type aliases

pin_t

Integer|String|Symbol

additional_params_t

Hash[untyped, untyped]

Singleton methods

new

ADC.new(pin_t pin, ?additional_params_t additional_params) -> instance

Instance methods

read

instance.read() -> Float

read_raw

instance.read_raw() -> Integer

read_voltage

instance.read_voltage() -> Float
Tags: class