Projet S5 Info / Mbed 2 deprecated Projet-xbee-mbed_fixe

Dependencies:   mbed

Fork of APP4 by S5info_H14

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "coordinateur.hpp"
00002 
00003 int main()
00004 {
00005     Coordinateur coord(p13, p14);   // Initialiaze the coordonator
00006     
00007     //coord.setPanID("ACE");  // Set PAN ID
00008     
00009     wait(2);
00010     
00011     while(true)
00012     {
00013         coord.getBytes();   // Wait to recieve new data to put on the usb port
00014     }
00015 }