Modifications in 4DGL library. Added CDU_hw_sw.h for version info. Added pins.h for hardware pin remapping

Dependencies:   4DGL-UC MODSERIAL mbed mbos

Fork of CDU_Mbed_30 by Engravity-CDU

main.cpp

Committer:
LvdK
Date:
2012-11-28
Revision:
3:58382fa6e555
Parent:
2:cdc3ccd10040
Child:
5:99594f4ab659

File content as of revision 3:58382fa6e555:

#include "mbed.h"
 
DigitalOut led1(LED1); // TEST Led1


void init_USB();
//void decode_string();
void collect_decode_FSdata();
 
main()
{

    init_USB();  // setup USB communication
        
    while (1) { // this is my endless main loop :
        led1 = !led1; // : toggle LED1 to show running program
        wait(0.1);    // : can be interrupted ???????????
        // decode_string();    // : call decoder to proces any valid command string received
        collect_decode_FSdata();
    }
}