|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: reading multiple digital inputs
This works pretty much the same in Windriver--basically, you create a function that updates an array with current values every time it's called, and then use that array.
I'm not quite sure why you would want to do this though--really, the code to read all the inputs at once would be more than the code to read them individually(since you have to store them and retrieve them from an array) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reading NES controller from digital inputs | bear24rw | Programming | 10 | 07-04-2007 01:17 |
| Digital inputs in autonomous mode? | Calvin | Programming | 8 | 18-02-2006 13:16 |
| Edu Robot Multiple Inputs | jrmarenda | Programming | 2 | 24-11-2004 13:22 |
| Digital inputs, bandwith, errors? | Micah Brodsky | Programming | 7 | 20-01-2003 16:08 |
| Analog vs Digital inputs? | f22flyboy | Programming | 8 | 08-11-2002 22:18 |