diff options
Diffstat (limited to 'documentation/shortintro.rst')
-rw-r--r-- | documentation/shortintro.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/shortintro.rst b/documentation/shortintro.rst index b9a8a8c..2d9dd1b 100644 --- a/documentation/shortintro.rst +++ b/documentation/shortintro.rst @@ -9,7 +9,7 @@ Open port 0 at "9600,8,N,1", no timeout:: >>> import serial >>> ser = serial.Serial(0) # open first serial port - >>> print ser.portstr # check which port was really used + >>> print ser.name # check which port was really used >>> ser.write("hello") # write a string >>> ser.close() # close port @@ -99,6 +99,6 @@ include entries that matched. Accessing ports --------------- -pySerial includes a small terminal console based terminal program called +pySerial includes a small console based terminal program called :ref:`miniterm`. It ca be started with ``python -m serial.tools.miniterm <port name>`` (use option ``-h`` to get a listing of all options). |