Support library for the ESP8266 Wireless Terminal. Can also be used for communicating with any VT100-compatible terminal.
espterm.hpp
- Committer:
- MightyPork
- Date:
- 2017-03-06
- Revision:
- 0:20fb68233f89
- Child:
- 1:09dfc9fd55f4
File content as of revision 0:20fb68233f89:
#ifndef ESPTERM_H #define ESPTERM_H #include "mbed.h" /** * @brief ESP8266 Wireless Terminal interface * * Can be also used for sending ANSI sequences to a regular serial terminal */ class ESPTerm { private: Serial* ser; public: /** * @brief Create a terminal instance from an already initialized serial port * * Example: * Serial ser(PA_2, PA_3, 115200); // for STM32F042 * ESPTerm term(&ser); */ ESPTerm(Serial *s); }; #endif /* ESPTERM_H */