class Gpiod::Line

Defined in:

gpiod/line.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(chip : Chip, offset) #

[View source]

Instance Method Detail

def chip : Gpiod::Chip #

[View source]
def consumer #

[View source]
def direction #

[View source]
def finalize #

[View source]
def free? #

[View source]
def high #

[View source]
def low #

[View source]
def name #

[View source]
def offset #

[View source]
def read #

[View source]
def request_input(consumer = Gpiod.consumer) #

[View source]
def request_output(consumer = Gpiod.consumer) #

[View source]
def requested? #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def write(new_value) #

[View source]