View Source Fledex.Leds (fledex v0.2.0)
Summary
Functions
offset is 1 indexed. Offset needs to be > 0 if it's bigger than the count then the led will be stored, but ignored
Types
Functions
@spec convert_to_leds_structure([Fledex.Color.Types.rgb()], integer()) :: map()
@spec get_light(t(), pos_integer()) :: Fledex.Color.Types.colorint()
@spec leds() :: t()
@spec light(t(), Fledex.Color.Types.colorint() | t() | atom()) :: t()
@spec light(t(), Fledex.Color.Types.colorint() | t() | atom(), pos_integer()) :: t()
offset is 1 indexed. Offset needs to be > 0 if it's bigger than the count then the led will be stored, but ignored
@spec light( t(), Fledex.Color.Types.colorint() | t() | atom(), pos_integer(), pos_integer() ) :: t()
@spec rotate([Fledex.Color.Types.colorint()], pos_integer(), boolean()) :: [ Fledex.Color.Types.colorint() ]
Link to this function