a
Dependencies: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Diff: uart.h
- Revision:
- 4:e48aee3e8d09
diff -r 6fc7976cc5bf -r e48aee3e8d09 uart.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uart.h Thu May 21 11:03:32 2020 +0000 @@ -0,0 +1,17 @@ +#ifndef UART +#define UART + +#include "mbed.h" + +#define BUFFER_SIZE 100 + +class Uart { + private: + Serial MySerial; + public: + Uart(); + char gets(char *pStr, unsigned char ucSize); + char puts(char *pStr, unsigned char ucSize); +}; + +#endif \ No newline at end of file