SMFSW / SerialTerminal

Arduino Hardware Serial Terminal (for processing of serial communication)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SerialTerminal Build Status

Arduino Hardware Serial Terminal

Arduino Hardware Serial Terminal (low level), sending complete sequence to function for processing it (mainly for user input)

Usage

  • Declare a function of type void (*func)(String) for message processing
  • Initialize terminal with term.init(uint32_t speed, void (*processing)(String)=NULL, String * title=NULL, String * ver=NULL, int msg_size=64)
    • speed: terminal baud rate
    • processing: pointer to message processing function
    • title: pointer to terminal title String
    • ver: pointer to version String
    • msg_size: maximum serial input size
  • messages will be passed to func for processing when breakout char (default being ';') occurs or max size is reached
  • Other methods:
    • term.setBreakoutChar(): change breakout character
    • term.getBreakoutChar(): get actual breakout character

Examples included

Documentation

Doxygen doc can be generated using "Doxyfile".

See generated documentation

Release Notes

See release notes

About

Arduino Hardware Serial Terminal (for processing of serial communication)

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 83.1%Language:C 16.9%