code pour recevoir des trames et mettre les char sur le port usb

Dependencies:   mbed

Fork of APP4 by S5info_H14

main.cpp

Committer:
RufflesAllD
Date:
2014-04-29
Revision:
8:ecc7c75a37ee
Parent:
7:a6f58e5d1188

File content as of revision 8:ecc7c75a37ee:

#include "coordinateur.hpp"

int main()
{
    Coordinateur coord(p13, p14);   // Initialiaze the coordonator
    
    //coord.setPanID("ACE");  // Set PAN ID
    
    wait(2);
    
    while(true)
    {
        coord.getBytes();   // Wait to recieve new data to put on the usb port
    }
}