Got it...won't be so lazy next tine. New subject...I would like to read some audio files into the ioio and feed them out to a d/a to drive an amplifier. Anybody written that yet?
On Jun 22, 2014, at 6:23 PM, Ytai Ben-Tsvi <[email protected]> wrote: > The last argument stands for whether to use a double precision (32-bit) > module. > Not that I mind doing it for you, but just in case you haven't noticed, the > API is pretty well documented (at least up to my standards) in the Javadoc > format. You can read it from the code or from the generated HTML that is > included in the software bundle under /IOIOLib/doc/ > > > On Sun, Jun 22, 2014 at 6:11 PM, Vic Wintriss <[email protected]> wrote: > I understand what the PulseInput does, I just wanted to be sure that I can > also specify either pull-up or pull-down as an input spec. Also, what does > the false mean at the end? > > On Jun 22, 2014, at 5:43 PM, Ytai Ben-Tsvi <[email protected]> wrote: > >> This would work. Not sure if it does what you want. What it does do is open >> pin 35 for pulse input using the internal pull-up and counts width of >> positive pulses on that line, i.e. how long it has been between when >> whatever is connected to the pin pulled it low (as opposed to for how long >> it was pulled low). >> >> >> On Thu, Jun 19, 2014 at 6:11 PM, <[email protected]> wrote: >> Do you have an example of how to use pulseInput with the input pulled down. >> Will this work: >> >> frontInput = ioio.openPulseInput(new DigitalInput.Spec(35, >> DigitalInput.Spec.Mode.PULL_UP),PulseInput.ClockRate.RATE_2MHz,PulseInput.PulseMode.POSITIVE, >> false); >> >> >> On Wednesday, May 28, 2014 8:58:20 AM UTC-7, Ytai wrote: >> PulseInput is what you want to use. This module limiting the bandwidth to up >> to 200 messages per second from the IOIO to the Android regardless of how >> fast the pulses are. >> The Pulse Input page on the Wiki and the Javadocs should have detailed >> explanations. >> >> >> On Tue, May 27, 2014 at 6:33 AM, siqi wang <[email protected]> wrote: >> Hello everyone, >> >> Now I am working on measuring the speed of a robot car which is connected >> with Android through IOIO. As i have 2 speed sensors on the car wheels, the >> pulses will be sent from the sensors when the wheel roll. The question is >> that if I use the PulseInput functions, will all pulses from the sensor pass >> to the Android device? As IOIO is connected with Android by USB/OTG cable, I >> am scared of the damages on the cable caused by high frequency pulses. If >> the pulses pass only to the IOIO card and IOIO send only the datas(i.e. the >> average frequency of pulses) to Android, that would be fine. >> Is there anyone who can tell me? Thank you very much! >> >> SIqi >> >> -- >> 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. >> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "ioio-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/ioio-users/QfQJBmPPF_s/unsubscribe. >> To unsubscribe from this group and all its topics, 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. > > > -- > You received this message because you are subscribed to a topic in the Google > Groups "ioio-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ioio-users/QfQJBmPPF_s/unsubscribe. > To unsubscribe from this group and all its topics, 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.
