Arduino connection

drewmcm's icon

Hi there,

Sorry if this has been posted many times, I have searched the forums and not found what I need.

Basically I have an Ardunio with an analogue fader and an ultrasonic sensor attached. It had been working fine, but just today I am getting the following error when trying to open the serial connection:

serial: bsd_path: /dev/cu.usbmodem301

Has anyone else come across this error/message, and been able to resolve or understand it?

I will try to upload the Ardunio code and Max patch soon, however the max patch is pretty messy, so I’m going to try and tidy it up first

Thanks in advance for any help

Drew

Source Audio's icon

usbmodem301 - it is uno rev 3 with ATMEGA16U2 usbserial ic, right ?

I guess you know that only 1 app can use serial port at same time ?

replug arduino after booting the system and

make sure to close serial monitor in arduino app,

maybe it will work again in max...

drewmcm's icon

Ah, Yes of course. No I actually didn’t realise that. And I had the serial monitor going in the Arduino program

Thanks so much for your reply