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.
Fork of C027_Support by
Diff: MDM.h
- Revision:
- 17:296d94a006b4
- Child:
- 18:e5697801df29
diff -r 4a7ba1887e81 -r 296d94a006b4 MDM.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MDM.h Fri Jan 31 09:49:51 2014 +0000
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "mbed.h"
+#include "C027_PinNames.h"
+
+class MDMSerial : public RawSerial
+{
+public:
+ MDMSerial() : RawSerial(MDMTXD,MDMRXD)
+ {
+ baud(MDMBAUD);
+ set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS);
+ }
+};
