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.
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.