dev

Dependencies:   MTS-Serial libmDot-mbed5

Fork of Dot-AT-Firmware by MultiTech

main.cpp

Committer:
Mike Fiore
Date:
2015-08-18
Revision:
4:666017851052
Parent:
1:e52ae6584f1c
Child:
9:ff62b20f7000

File content as of revision 4:666017851052:

#include "mbed.h"
#include "mDot.h"
#include "CommandTerminal.h"

Serial debug(USBTX, USBRX);

mts::MTSSerial serial(XBEE_DOUT, XBEE_DIN, 512, 512);

int main()
{
    debug.baud(115200);

    mDot* dot = mDot::getInstance();

    debug.baud(dot->getDebugBaud());
    serial.baud(dot->getBaud());

    CommandTerminal term(serial, dot);

    term.start();
}