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.
Diff: main.cpp
- Revision:
- 0:048bb9e158e9
- Child:
- 1:ba85fcc30fe1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Dec 12 19:17:36 2013 +0000 @@ -0,0 +1,27 @@ +#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 + +}