And for the port number in case of mac just open terminal and type. 5: While entering the serial port name into the code in arduino IDE, enter the whole port address i.e: /dev/cu.usbmodem. You have to use something like ‘ser:devicename’, 9600. All sent and received data can be shown in a console and can be logged in an html and a text log. ScriptCommunicator is a scriptable cross-platform data terminal that supports serial port (RS232, USB to serial), UDP, TCP client/server, SPI, I2C, and CAN. Scriptable data terminal which supports several interfaces.