Command to close the serial port which is connected to Arduino
res=close_serial(nHandle)
Board number, reserved for future use. For this version, any number would do
0 if the connection is successful, else the connection fail
It is important to close the serial port after use, else the port would be busy and restart of Scilab might required to connect to it again.