Skip to content

Create function RowSpeed(row, speed) to control array by row #1

@photodude

Description

@photodude

Describe the solution you'd like
Create a function which controls one of the 5 rows of the 5x5 array

Additional context

prototype psudocode
``cpp
void RowSpeed(row, speed)
{
row = constrain(row, 1, 5);
// speed = constrain(speed, 1000, 2000) // this isn't needed as speed self constrains
switch (row)
{
case 1:
// motors A to E
break;
case 2:
// motors F to J
break;
case 3:
// motors K to O
break;
case 4:
// motors P to T
break;
case 5:
// motors U to Y
break;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions