|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to access other Digital inputs on OI? | DougHogg | Electrical | 2 | 12-03-2003 13:57 |
| Serial Port and Custom Circuit | Ryan Meador | Programming | 40 | 06-02-2003 11:34 |
| Specs full of errors??? | Simon G | Motors | 1 | 20-01-2003 12:53 |
| Analog vs Digital inputs? | f22flyboy | Programming | 8 | 08-11-2002 22:18 |
| making speed controller digital | CharlieWilken | Electrical | 4 | 01-03-2002 20:15 |