[PD] error: unpack type mismatch

Alexandros Drymonitis adrcki at gmail.com
Tue May 19 21:46:51 CEST 2015


but ASCII is just bytes, so subtracting 48 should do the ASCII to float
job, right?
How are you sending values from Arduino to Pd? Do you use Serial.write or
Serial.println? use [print] before you send stuff to [unpack] to see what
you get. A type mismatch is when you expect a float but you get a symbol,
for example.

On Tue, May 19, 2015 at 10:08 PM, Pagano, Patrick <pat at digitalworlds.ufl.edu
> wrote:

>  hello
>
>
>  i am working with arduino and raspi with comport spiiting out values
> from pots attached to the arduino board and i keep getting the endless
> warnings of
>
> error: unpack type mismatch
>
> error: unpack type mismatch
>
> error: unpack type mismatch​
>
>
>  is there a way to remedy this? i looked around and i heard some people
> talking about "atof" which i assume is ascii to float.
>
> But i cannot find it anywhere. I thought it was in zexy but maybe i have
> the wrong name or perhaps i am off the mark entirely
>
>
>  can someone help me out?
>
>
>  pp
>
>
>   *Patrick Pagano B.S, M.F.A*
> Audio and Projection Design Faculty
> Digital Worlds Institute
> University of Florida, USA
> (352)294-2020
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150519/0794b587/attachment.html>


More information about the Pd-list mailing list