Skip to content

Update the MAX7219 to test for bad data input. #4

@mholtrop

Description

@mholtrop

Some routines, originally intended for internal use only but not underscored, do not check if the input is within acceptable limits. This should be tested so that programming errors are caught.

Specifically: WriteLocChar, WriteRaw, WriteInt need guards.

Also, WriteData's argument "data" is confusingly close to self.DATA. Change name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions