Doesn't seem like you're checking the return value of writeRead(). Any
chance it is returning false? If so, common problems are bad connections
(loose), wrong pins, forgetting pull-ups, forgetting common ground, not
configuring the TMP102 address correctly, using the wrong address from code.
For debugging I would encourage you to Log.d(...) your readings to get
GUI-related problems out of the possible things that can go wrong.

On Thu, Jan 22, 2015 at 3:35 PM, Javier Soriano <[email protected]> wrote:

> Hi Ytai,
>
> I'm working now in this project. I have read all the examples that other
> users and you post here and I tried to implement it. However, I don't know
> why the app doesn't show the temperature. I append the MainActivity.java in
> this message.
>
> Thanks in advance!!
>
>
>  --
> 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