|
What we found is that the digital input pins seem to be inconsistent when they're latched. Basically, if your incoming data changes at the instant that the RC is sampling the digital ins, they will be corrupted. We tested this by wiring a switch up to all the digital inputs and then running a loop that just prints out the values read. Since 1 switch is connected to all inputs, they should all change at the same time, right? Well they don't. And there's no rhyme or reason to which ones change first. So my advice is to see if you can find a way to cause the inputs to not change when the values are being latched.
|