[PD] Splitting a range into multiple ranges

Arda Eden ardaeden at gmail.com
Thu Oct 16 18:57:37 CEST 2014


:) thnx. 



> On 16 Oct 2014, at 19:50, Cyrille Henry <ch at chnry.net> wrote:
> 
> / 100
> int
> change
> sel 0 1 2 3 4 5 6 7 8 9
> 
> cheers
> c
> 
> Le 16/10/2014 18:44, Arda Eden a écrit :
>> Hi there,
>> I have a little problem:
>> 
>> I am reading some serial data in range 0-1023 from an IR sensor connected to Arduino . What I wanna do is to split this range into smaller ranges i.e. 0-100, 100-200, 200-300 and so on, and I need every single range to generate a single bang. Using multiple spigots, moses or if statements may solve my problem but that doesn't look like a good way. Anyone tried this before or any ideas ?
>> 
>> Thank you.
>> 
>> 
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list