Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Apr 30, 2013
1 parent 2559aee commit 4ef2b0e
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions README.md
@@ -1,4 +1,3 @@

arduino-serial -- C code to talk to Arduino
===========================================

Expand All @@ -7,7 +6,8 @@ Original URL: http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to
Post about changes: http://todbot.com/blog/2013/04/29/arduino-serial-updated/


Usage is:
Usage
------
<pre>
laptop% ./arduino-serial
Usage: arduino-serial -b <bps> -p <serialport> [OPTIONS]
Expand All @@ -29,10 +29,31 @@ Options:
Note: Order is important. Set '-b' baudrate before opening port'-p'.
Used to make series of actions: '-d 2000 -s hello -d 100 -r'
means 'wait 2secs, send 'hello', wait 100msec, get reply'
d

</pre>


Downloads
---------
For convenience, here's some pre-built versions of arduino-serial.
They may not be updated regularly, so compile it yourself if you can.
Click the "view raw" to get the actual zip file.

- https://github.com/todbot/arduino-serial/blob/master/arduino-serial-macosx.zip
- https://github.com/todbot/arduino-serial/blob/master/arduino-serial-linux.zip


Compilation
-----------
arduino-serial should compile on any POSIX-compatible system.
Tested on Mac OS X, Ubuntu Linux, Raspian Linux, Beaglebone Linux

To build, just check it out, make, and run it like:
<pre>
% git clone https://github.com/todbot/arduino-serial.git
% cd arduino-serial
% make
% ./arduino-serial
</pre>

For more details on the build process, see the Makefile.

0 comments on commit 4ef2b0e

Please sign in to comment.