Skip to content

Commit

Permalink
edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ngohuynhngockhanh committed Feb 27, 2017
1 parent 6ebd55c commit 617c056
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
14 changes: 7 additions & 7 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
An Arduino library to tokenize and parse commands received over a serial port.

Initially documented here: http://awtfy.com/2011/05/23/a-minimal-arduino-library-for-processing-serial-commands/

An alternate version of this library is available as https://github.com/kroimon/Arduino-SerialCommand
Initially documented here: http://arduino.vn/node/1497

This version is the one on Github.

/*******************************************************************************
SerialCommand - An Arduino library to tokenize and parse commands received over
a serial port.
Copyright (C) 2011-2013 Steven Cogswell <steven.cogswell@gmail.com>
http://awtfy.com
Based on 2011-2013 Steven Cogswell <steven.cogswell@gmail.com>
Copyright 2017 Ngo Huynh Ngoc Khanh <ngohuynhngockhanh@gmail.com>
http://arduino.vn

Version 20131021A.
Version 2017.

Version History:
May 11 2011 - Initial version
Expand All @@ -24,7 +23,8 @@ Oct 2013 - SerialCommand object can be created using a SoftwareSerial object, fo
support. Requires #include <SoftwareSerial.h> in your sketch even if you don't use
a SoftwareSerial port in the project. sigh. See Example Sketch for usage.
Oct 2013 - Conditional compilation for the SoftwareSerial support, in case you really, really
hate it and want it removed.
hate it and want it removed.
Feb 2017 - Allow command and arguments into two buffers JSON

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down
22 changes: 18 additions & 4 deletions SerialCommand.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
/*******************************************************************************
SerialCommand - An Arduino library to tokenize and parse commands received over
a serial port.
Copyright (C) 2011-2013 Steven Cogswell <steven.cogswell@gmail.com>
http://awtfy.com
See SerialCommand.h for version history.
Based on 2011-2013 Steven Cogswell <steven.cogswell@gmail.com>
Copyright 2017 Ngo Huynh Ngoc Khanh <ngohuynhngockhanh@gmail.com>
http://arduino.vn
Version 2017.
Version History:
May 11 2011 - Initial version
May 13 2011 - Prevent overwriting bounds of SerialCommandCallback[] array in addCommand()
defaultHandler() for non-matching commands
Mar 2012 - Some const char * changes to make compiler happier about deprecated warnings.
Arduino 1.0 compatibility (Arduino.h header)
Oct 2013 - SerialCommand object can be created using a SoftwareSerial object, for SoftwareSerial
support. Requires #include <SoftwareSerial.h> in your sketch even if you don't use
a SoftwareSerial port in the project. sigh. See Example Sketch for usage.
Oct 2013 - Conditional compilation for the SoftwareSerial support, in case you really, really
hate it and want it removed.
Feb 2017 - Allow command and arguments into two buffers JSON
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down
2 changes: 1 addition & 1 deletion SerialCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Oct 2013 - SerialCommand object can be created using a SoftwareSerial object, fo
a SoftwareSerial port in the project. sigh. See Example Sketch for usage.
Oct 2013 - Conditional compilation for the SoftwareSerial support, in case you really, really
hate it and want it removed.
Feb 2017 - Allow command and arguments into two buffers
Feb 2017 - Allow command and arguments into two buffers JSON
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down

0 comments on commit 617c056

Please sign in to comment.