grizzly v0.5.0 Grizzly.CommandClass.Basic View Source

Link to this section Summary

Link to this section Types

Link to this type

value() View Source
value() :: :on | :off

Link to this type

value_byte() View Source
value_byte() :: 0 | 255

Link to this section Functions

Link to this function

encode_value(arg) View Source
encode_value(value()) :: {:ok, value_byte()} | {:error, :invalid_arg, any()}