RevB Hardware This is the BootTest for revb hardware, for the C027 platform. This code performs a boot operation on the LISA-C200 module, bringing up the signals in the correct order, as reviewed by the hardware team at U-Blox. This simple code performs the boot operation on the LISA-C200, and proceeds into an infinite loop toggling an LED on the board, so that we visually know that the LISA boot operation is complete.

Dependencies:   C027-REVB mbed

main.cpp

Committer:
dixter1
Date:
2013-12-12
Revision:
0:048bb9e158e9
Child:
1:ba85fcc30fe1

File content as of revision 0:048bb9e158e9:

#include "mbed.h"
#include "C027.h"
#include "WANDongle.h"
#include "USBSerialStream.h"
#include "UbloxCDMAModemInitializer.h"
#include "UbloxGSMModemInitializer.h"

DigitalOut myled(LED);
DigitalOut mdm_activity(LED1);

int main() 
{
    // the instantiation of the type, calls C027::C027
    C027 c027;
    
    // c027.mdmUsbEnable(true);
    
    c027.mdmPower(true);

#if 1
    while(1) {
        myled = !myled;
        wait(0.2);
    }
#endif

}