hi everyone! I'm kinda new using Arduino and as my first project I am creating a sonar with an ultrasonic sensor.
. I have been following a project found on internet with an Arduino code that works well and a code to use on Processing for a visual interface. This last one is creating me some problems because it can not find the serial port COM4 (I guess because I'm running it from a Mac). Can anyone help me telling me which port can I use instead of the COM4?
Not sure but COM4 is a Windoz serial port designation. Try this on a MAC: open a Terminal window, type ls /dev/tty.usb* That should show what is there. There are different drivers for the MAC so this may not work.
If it is plugged in, try searching for /dev/cu.* (apparently stands for "calling unit"). For example, one of my ESP32 boards is /dev/cu.usbserial-54780086211
oki, I'm gonna try tonight, for now I resolved doing the tests on an another pc that runs windows, but I'm more comfortable on Mac so tonight I try this command!