Ok, the frequency is displaying accurately. I used : > >
> PulseInput input1_ = ioio_.openPulseInput(new >> DigitalInput.Spec(1,Mode.PULL_DOWN), ClockRate.RATE_62KHz, PulseMode.FREQ, >> false); > > PulseInput input2_ = ioio_.openPulseInput( new >> DigitalInput.Spec(3,Mode.PULL_DOWN ), ClockRate.RATE_62KHz, >> PulseMode.FREQ, false); > > 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? Also both pins continue to show the same values. -- 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.
