Skip to content

add option to set rotation in the configuraion #18

@noah1510

Description

@noah1510

This feature should make things a lot easier.
It is an option for the controller_configuration to allow different rotation values.
This allows for a custom rotation in 90 degree steps to adjust to functions according to the actual layout of the segments.
moveRight will move the data right even if the matrix is rotated and the set functions will set the correct values.

This will require a lot of changes to the codebase and is not recommended for beginners unfamiliar with templates and the internal structure of the code.

  • add configuration option for the rotation (maybe even as an enum) and document what values have what meaning.
  • update the move functions to respect the rotation
  • update the set functions to respect the rotation
  • write example code for the use of this feature
  • add unit tests for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions