dhgdh

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "UbloxUSBGSMModem.h"
00002 #include "UbloxUSBCDMAModem.h"
00003 #include "smstest.h"
00004 
00005 #if !defined(MODEM_UBLOX_GSM) && !defined(MODEM_UBLOX_CDMA)
00006 #warning No modem defined, using GSM by default
00007 #define MODEM_UBLOX_GSM
00008 #endif
00009 
00010 int main()
00011 {
00012 #ifdef MODEM_UBLOX_GSM
00013     UbloxUSBGSMModem modem;
00014 #else
00015     UbloxUSBCDMAModem modem(p18, true, 1);
00016 #endif
00017 
00018     smstest(modem);
00019     while (true);
00020 }
00021