|
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)
__________________
Get yer robot source code here!
|