Skip to content

set random really random ! #1

@MichaelJohannes

Description

@MichaelJohannes

void setup() {
pixels.begin();
pixels.setBrightness(45); //To reduce power consumption
randomSeed(analogRead(5)); //sets random start value by reading an open analog input e.g. 5
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions