Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SerialCtrl.h
- Revision:
- 5:731e4a7f5947
- Parent:
- 4:32f7deade942
--- a/SerialCtrl.h Tue Feb 18 08:47:32 2020 +0000
+++ b/SerialCtrl.h Thu Apr 08 11:10:03 2021 +0000
@@ -24,7 +24,7 @@
class SerialCtrl {
public:
- SerialCtrl(Serial*, Timer*);
+ SerialCtrl(BufferedSerial*, Timer*);
unsigned char data[DATA_N];
void param(unsigned char header, unsigned char footer);
@@ -34,7 +34,7 @@
private:
unsigned char input();
- Serial *_Serial;
+ BufferedSerial *_Serial;
Timer *_Timer;
unsigned char STX; //header data code