Inline.

I tried it in PULL_UP and PULL_DOWN and the numbers no longer run on.
> That's good. Final question though, the value of the frequency stays on the
> screen after unhooking my wire. How do I take advantage of the pull to make
> the frequency appear as 0 when the wire is unhooked?
>

I don't think this has anything to do with the pull configuration. More
likely has to do with your TimerTask code not executing as it should to
abort the read and consider the frequency 0. Add Log.d(...) statements in
your code to get some more visibility into what's happening there exactly.


> Also both pins continue to show the same values.
>

I think I got it. Where is your last_ field declared? Have you possibly not
defined it inside the thread class, causing both threads to clobber each
other?




> --
> 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