Pequena LIB para fazer um LOGGER
Dependents: monitoramento_ativos
Logger.h
- Committer:
- AndersonIctus (anderson.ictus@gmail.com)
- Date:
- 2019-05-04
- Revision:
- 1:f23ad1b9a35a
- Parent:
- 0:1019a5a78757
File content as of revision 1:f23ad1b9a35a:
#ifndef MBED_LOGGER_H #define MBED_LOGGER_H #include "mbed.h" #include <stdarg.h> #include <stdlib.h> #include <string.h> #define DEVICE_SERIAL 1 class Logger { public: char buffer[256]; Logger(); void log(char* text); private: Serial _pc; // tx, rx } ; #endif