Hi JTai,
No problem, still in designing phase.
Thanks for the link, will look into it when it's due.



Op zo 13 sep. 2015 om 19:11 schreef Ytai Ben-Tsvi <[email protected]>:

> Sorry for responding late. In case it matters, the IOIO is potentially
> capable of up to 9 single-precision PulseInput, where every pair of single
> precision can form a double precision.
> For simplicity, I chose to expose this as 3 single + 3 double, but that's
> strictly an arbitrary software decision.
> The code that does that is here:
>
> https://github.com/ytai/ioio/blob/master/software/IOIOLibCore/src/main/java/ioio/lib/impl/Board.java#L152
>
> The part that says new int[] {0, 2, 4}, new int[] { 6, 7, 8 },
> Says "use modules 0+1, 2+3, 4+5 as double precision and 6, 7, 8 as single
> precision. You can change this to whatever other combination you want
> (remember that double precision always need to use an even index and would
> use up the next index too, and that in total you have 0 through 8).
> There's currently no API to make that change, you're need to modify
> IOIOLibCore as explained.
>
> On Tue, Sep 8, 2015 at 8:32 AM, Tyler Trombetta <[email protected]>
> wrote:
>
>> Gabor,
>>
>> I'm reading the value of a toggle switch outputting PWM by passing the
>> signal through a low pass RC filter and then reading the value on an Analog
>> IN pin. It's not pretty, but it works pretty reliably since I'm out of
>> PuseInput modules. If you have something that doesn't need any fidelity
>> that could be an option.
>>
>> On Tue, Sep 8, 2015 at 2:59 AM, Gabor Schilten <[email protected]>
>> wrote:
>>
>>> Thanks. Got it working. However, no idea how to get the 10th 'sensor'
>>> working based on PWM ;)
>>>
>>> Op dinsdag 8 september 2015 08:16:58 UTC+2 schreef Gabor Schilten:
>>>>
>>>> Hi,
>>>>
>>>> For an interesting new project, i have to intercept 6 rc receiver
>>>> channels, and around 4 ultrasonic sensors to start with.
>>>> Outputting 6 pwm signals then for all engines and servo's..
>>>>
>>>> However, according to the wiki, we only have 3 *single-precision* and
>>>> 3 *double-precision* pulse input modules.
>>>> If I'd exchange the 3 doubles for 6 single precision, I'd end up with 9.
>>>>
>>>> Is there something I'm missing here? Or do I need to look for eather
>>>> another IOIO board or Sensors based on I2C?
>>>>
>>>> Thanks.
>>>>
>>>> Gabor
>>>>
>>> --
>>> 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.
>

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