vvvv
Diff: MDM.h
- Revision:
- 17:296d94a006b4
- Child:
- 18:e5697801df29
--- /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); + } +};