You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Use printf and puts instead to access the console, BufferedSerial for blocking applications or UnbufferedSerial if bypassing locks in IRQ or short of RAM."
61
+
) Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
57
62
58
63
public:
59
64
#if DEVICE_SERIAL_ASYNCH
@@ -67,7 +72,8 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
67
72
using SerialBase::enable_input;
68
73
using SerialBase::enable_output;
69
74
70
-
/** Create a Serial port, connected to the specified transmit and receive pins
75
+
/** @deprecated
76
+
* Create a Serial port, connected to the specified transmit and receive pins
71
77
*
72
78
* @param tx Transmit pin
73
79
* @param rx Receive pin
@@ -77,9 +83,11 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
77
83
* @note
78
84
* Either tx or rx may be specified as NC (Not Connected) if unused
79
85
*/
86
+
MBED_DEPRECATED("The class has been deprecated and will be removed in the future.")
0 commit comments