routeur done

Dependencies:   mbed

Fork of APP4 by Évan Laverdure

main.cpp

Committer:
RufflesAllD
Date:
2014-02-24
Revision:
4:aac38b016952
Parent:
2:7515831bb5f5

File content as of revision 4:aac38b016952:

#include "readfile.hpp"

LocalFileSystem local("local");

int main()
{
    Routeur *accelRouter = new Routeur(p13, p14);
    accelRouter->initAccel();
    
    while(true)
    {
        accelRouter->sendAccelValues();
        accelRouter->sendSwitchValue();
        wait(0.2);
    }
}