serial debug Monitor
debugMonitor.h
- Committer:
- duchonic
- Date:
- 2018-08-23
- Revision:
- 0:de1f07a7cd82
- Child:
- 1:a2fab59c3b98
File content as of revision 0:de1f07a7cd82:
#include "mbed.h" class debugMonitor { public: /** * constructor of debugMonitor * * @param sda SDA pin * @param sdl SCL pin */ debugMonitor(PinName tx, PinName rx); /** deconstructor */ ~debugMonitor(); /** * LP55231 Init * @returns 0 if ok * @returns -1 on error */ uint8_t debugMonitor_Init(void); /** * @param led led to set * @param color color to set */ void debugMonitor_Job(void); private: /** i2c handler */ Serial serial; };