Permalink
Browse files

Updated README.

  • Loading branch information...
1 parent 5e3146e commit 3856851be32e5df9008ab63d082d3ecba12716ae @wiseman committed Jan 2, 2010
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.rst
View
@@ -27,16 +27,16 @@ Complete command line usage information::
Usage: arduinoserial.py -p <serialport> [OPTIONS]
Options:
-h, --help Print this help message.
- -p, --port=serialport Serial port Arduino is on.
- -b, --baud=baudrate Baudrate (bps) of Arduino.
- -s, --send=data Send data to Arduino.
+ -p, --port=SERIALPORT Serial port Arduino is on.
+ -b, --baud=BAUDRATE Baudrate (bps) of Arduino.
+ -s, --send=DATA Send data to Arduino.
-r, --receive Receive data from Arduino & print it out.
- -n --num=num Send a number as a single byte.
- -d --delay=millis Delay for specified milliseconds.
+ -n --num=NUM Send a number as a single byte.
+ -d --delay=MILLIS Delay for specified milliseconds.
Note: Order is important. Set '-b' before doing '-p'.
Used to make series of actions: '-d 2000 -s hello -d 100 -r'
- means 'wait 2secs, send 'hello', wait 100msec, get reply'.
+ means 'wait 2 seconds, send 'hello', wait 100 msec, get reply'.
You can also import ``arduinoserial`` and use its ``SerialPort`` class
to communicate with an Arduino from a Python program::

0 comments on commit 3856851

Please sign in to comment.