hey. Need some help here.
Doing a project where were going to control a standard rc car using a iPhone 3g, 1 arduino (possably 2), and some RF modules.
we are going to read the accelerometer data on the iphone and turning them in to throttle/turn commands.
I've managed to get the accelerometer data in to my max-patch(8 bit) so now I have 2 8-bit integers in number boxes which i don't know how to send out on the serial port and to the arduino.
I need help to make the rest of the patch, so that i can send the two (continuously changing) 8-bit integers to the arduino.
Just imagine a blank patch with only two number boxes on it. the number in the boxes change continously(whole numbers, no decimals) and i want to send them to the arduino...
How do i do that ?
since this is real-time control, it needs do update at least 10 times a second.
Anyone have an idea of what to do ?
I think this is a pretty basic thing to do, but i have almost no experience with the max 5 program!
thanks for reading, and thanks again for all help.