CmdMessenger Replaces Messenger
CmdMessenger is a command-oriented version of Messenger for serial communications. To use CmdMessenger, we define a list of command identifiers, then attach callback / handler functions for received messages. The first sub-string (part) in a message is always the command identifier. If a message is received and there is no corresponding known command (and command handler function) the message is passed to the default message handler.
This new version of the library (version 2.0) contains many changes to both the CmdMessenger class and the example program.
Download the latest version of CmdMessenger from GitHub. Includes example .pde file.
(defaults to ';' and ',')
\* Earlier versions of Arduino IDE before 022 might work, but not tested.