reading[i] = (byte) in.read();
On May 24, 2014 5:49 PM, "Ahmed Zargoun" <[email protected]> wrote:

> I've tried using for loop
>
>      try {
>
> int count = 16;
>
>
>     for(int i=0; i<count;i++)
>     {
>      in.read(reading[i]);           //the library waits for transfer
> complete, output.flush() is called
>     }
>
>      }
>     catch (IOException e){
>     }
>
> i got an error : The method read(byte[]) in the type inputStream is not
> applicable for the arguments (byte)
>
>  --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to