View Source Fledex.LedsDriver (fledex v0.1.0)
Link to this section Summary
Link to this section Types
@type colorint() :: 0..16_777_215
@type hsv() :: {hue :: 0..255, saturation :: 0..255, value :: 0..255}
@type rgb() :: {red :: 0..255, green :: 0..255, blue :: 0..255}
Link to this section Functions
@spec apply_merge_strategy( {pos_integer(), pos_integer(), pos_integer()}, pos_integer(), atom() ) :: rgb()
@spec extend([colorint()], pos_integer()) :: [colorint()]
@spec set_leds(atom(), [pos_integer()], atom()) :: :ok | {:error, String.t()}