Get Current Communication-Port

\i I ? C

Returns the current communication-port in use.

Response: [ACK] port_id [ACK]

port_id Description
01 serial port 0
02 serial port 1
03 USB port
04 I²C port
05 SPI port
06 ethernet port

Response Example

[ACK][03][ACK]

The current communication-port is the USB port.

See also:

Set Baud Rate
Controlling Options