connect MAX and Arduino
Hi.
I am trying to connect MAX/MSP with arduino, but i continuously get the error (On MAX) "serial port not available".
What is wrong?
The steps i did:
1. Load "dimmer" example to arduino (and upload to board)
2. paste the MAX code that is commented inside this example in a new MAX patch (run)
i get MAX message:
serial: specified port not available
but everything seems ok. (serial port=COM3, is a PC workstation plataform)
When i run "dimmer" with proccesing IDE, everything works fine.
Any idea i am missing?
Is the [serial] object in Max being 'polled', by a [metro] which needs initialized - toggle on? I believe you can also send the [serial] object a "print" message to view available ports; but the way I got my [serial] object to see the correct port (Vista/Intel/Athlon) was to send it (port a), (port b), (port c) etc messages, until I found the right one - but don't try this yourself until you get some more refined suggestions from the forum!
Oh, this patch doesn't need a [metro], sorry; change the "port a" message to "port c"
it works!
thanks