[PD] Arduino/SRF05

Hans-Christoph Steiner hans at eds.org
Tue Mar 3 05:55:30 CET 2009


Instead of using Serial.print() in Arduino, use Firmata.  Check out  
the Library-Firmata examples in Arduino.  The "Firmata" object in  
Arduino replaces the Serial object and then automatically speaks the  
Firmata protocol, so that you can then use [arduino] in Pd.

.hc

On Mar 1, 2009, at 8:21 PM, Dafydd Hughes wrote:

> Thanks. I'll look into that tomorrow. In the meantime, I have it
> working with decimal well enough.
>
> Thanks everybody for the help!
>
> cheers
> dafydd
>
> On Sun, Mar 1, 2009 at 8:11 PM, Roman Haefeli <reduzierer at yahoo.de>  
> wrote:
>> On Sun, 2009-03-01 at 19:54 -0500, Dafydd Hughes wrote:
>>> Hi David
>>>
>>> I'm sure it's easier than I'm making it.
>>>
>>> Really, I just need to turn the data from the arduino into usable
>>> floats. Right now it's coming in as ascii characters and I'm  
>>> building
>>> lists between carriage returns. Hopefully I can now turn those lists
>>> into numbers without too much trouble. Should I maybe be doing this
>>> with binary numbers? Would that be easier?
>>
>> i'd guess so. you could use [mapping/debytemask] in order to  
>> convert the
>> byte into its single bits. then parsing of the data you want should  
>> be
>> really easy.
>>
>> roman
>>
>>
>>
>>
>>
>> ___________________________________________________________
>> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo!  
>> Mail: http://mail.yahoo.de
>>
>>
>
>
>
> -- 
> www.sideshowmedia.ca
> skype: chickeninthegrass
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


----------------------------------------------------------------------------

Access to computers should be unlimited and total.  - the hacker ethic






More information about the Pd-list mailing list