I'd like to produce a PWM pulse at pin 5 and receive the pulses at pin 11 
in the same time. But after using "float freqHz = pulse.getFrequency()", 
there is no pulse produced at pin5. The PulseInput mode is set as FREQ. 
What's the problem of it?

On Monday, June 2, 2014 3:16:59 PM UTC+2, siqi wang wrote:
>
> Thank you very much ytai!
>
> On Wednesday, May 28, 2014 5:58:20 PM UTC+2, 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.

Reply via email to