I might add this at some point. I totally see the merit. However, I don't
think this will be a "near future" thing.


On Thu, Jul 3, 2014 at 6:52 PM, Dave Horoschak <[email protected]> wrote:

> Thanks.  Unfortunately, this is already outside my programming knowledge.
> I saw that some others had developed odometer apps in the past and I was
> hoping I might be able to start with some of their code.
>
> Is it possible that a pulse counter will be added to the IOIO firmware in
> the near future?
>  - Dave
>
>
> On Thursday, July 3, 2014 9:53:58 AM UTC-4, Ytai wrote:
>
>> There is currently no IOIO feature that allows counting pulses.
>> However, at this rate you might be able to get away with a slightly
>> hacked DigitalInput. You can modify the DigitalInputImpl class to count the
>> pulses (the setValue() method is called on every edge).
>> You may use PulseInput to get the pulse rate, but not their count.
>>
>>
>> On Mon, Jun 30, 2014 at 10:53 PM, Dave Horoschak <[email protected]>
>> wrote:
>>
>>> I'm interested in using an IOIO board to input pulses into a simple
>>> Android app to measure distance.  I expect the pulses to be 5v and run at a
>>> maximum of around 500Hz.  In the app, I would input a factor related to the
>>> distance traveled for each pulse and the app would compute total distance
>>> by accumulating the number of pulses and multiplying by the factor.
>>>
>>> I have no personal experience developing on Android, so I'm wondering if
>>> there might be an existing app that can be re-purposed for my project.  If
>>> not, is there anyone on the list who would be interested in working on
>>> something like this?
>>>  - Dave
>>>
>>> --
>>> 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 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