Pages: [1]   Go Down
Author Topic: Serial communication problem (Arduino to MAX on Mac)  (Read 1185 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I've been trying to get my arduino and max patch to send data back and forth for the past few days.  After much troubleshooting and going through multiple tutorials I've come to the conclusion that the problem does not lay in the arduino code or max patch.  I'm specifying the proper baud rate, port and making sure to translate the information between the two programs.  Does anyone have an idea of what else could be going wrong?  Could there be something in my computer settings that needs to be changed?
I'm doing this on a new MAC mini, which I have been able to establish serial communication on in the past. 

This is the arduino code I'm using to troubleshoot the problem:

int info;

void setup() {
  Serial.begin(9600);
}

void loop() {
if (Serial.available())
info = Serial.read();
  Serial.print(info);
  Serial.print(" ");
  Serial.println(100);
  delay(20);
}
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Problem solved!
It was a matter of updating my FTDI drivers.  For some reason my mac was allowing me to upload code, but it wouldn't support serial communication. 
Logged

Pages: [1]   Go Up
Jump to: