Skip to content

Not all input bits getting sent #17

Description

@steve057917

Hi, I was trying to set up an Arduino to send 20 bits of info (button presses) to JMRI. But only 17 were getting sent.
After head scratching and testing with a bare minimum sketch that just toggles the inBits every 5 seconds, I saw the comments about issue #10. I think the update made under issue #10 , line 115 is not correct. I changed the comparison to > (greater than) and I am now getting the full 24 bits of input data. Please double check the comparisons and logic for testing for out of bounds conditions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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