struct DoorCtrl::State

Included Modules

Extended Modules

Defined in:

models/door_state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(close_line : GPIO::Line, open_line : GPIO::Line) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def close_active? : Bool #

[View source]
def close_line : Int32 #

[View source]
def open_active? : Bool #

[View source]
def open_line : Int32 #

[View source]
def state : DoorState #

[View source]