RGBMatrix.Animation.Config.FieldType.Integer (rgb_matrix v0.1.0) View Source
An integer field type for use in animation configuration.
Supports defining a minimum and a maximum, as well as a step value.
To define an integer field in an animation, specify :integer
as the field
type.
Example:
field :speed, :integer,
default: 4,
min: 0,
max: 32,
doc: [
name: "Speed",
description: """
Controls the speed at which the wave moves across the matrix.
"""
]
Link to this section Summary
Link to this section Types
Specs
Specs
value() :: integer()