Skip to content

Why is the cursor data for _beamCount == 2 not following the logic of the other counts? #5

@ScruffR

Description

@ScruffR

In void Beam::display() I see currsrcData follow a binary logic for _beamCounts of 1, 3 and 4 - but 2 is unexpected, why?

_beamCount  currsrcData
    0x01    0b00100000
    0x03    0b00010000
    0x04    0b00001000
but
    0x02    0b00010101

In the libraries for Arduino or Raspberry Pi I can't find that part at all.

And the default setting for that in void Beam::setPrintDefaults() doesn't follow that logic either, but is also obscure as here the settings for 0x01 and 0x02 are set to 0b0010000 and 0b00010101 seems to be the "error state".

Can you clarify, please?

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