Changes to allow for SPI communication. MTS_SPI_Slave.cpp replaces MTSSerial.cpp. AT_SPI_Slave.ccp replaces ATSerial.cpp.
Dependencies: MTS_SPI libmDot-dev-mbed5-deprecated
Fork of Dot-AT-Firmware by
mts_at_debug.h
- Committer:
- ScottHoppeMultitech
- Date:
- 2017-12-28
- Revision:
- 19:c37f04c52ccb
- Parent:
- 14:f9a77400b622
File content as of revision 19:c37f04c52ccb:
#include "mbed.h" #include <stdio.h> // enable to turn on debug prints and AT commands // #define DEBUG_MAC 1 #ifdef DEBUG_MAC #define MTS_RADIO_DEBUG_COMMANDS 1 #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) #else #define DEBUG_PRINTF(fmt, args...) #endif