![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
routeur done
Dependencies: mbed
Fork of APP4 by
main.cpp@4:aac38b016952, 2014-02-24 (annotated)
- Committer:
- RufflesAllD
- Date:
- Mon Feb 24 19:06:11 2014 +0000
- Revision:
- 4:aac38b016952
- Parent:
- 2:7515831bb5f5
l
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joGenie | 0:71df0feee697 | 1 | #include "readfile.hpp" |
joGenie | 0:71df0feee697 | 2 | |
joGenie | 0:71df0feee697 | 3 | LocalFileSystem local("local"); |
joGenie | 0:71df0feee697 | 4 | |
joGenie | 0:71df0feee697 | 5 | int main() |
joGenie | 0:71df0feee697 | 6 | { |
RufflesAllD | 4:aac38b016952 | 7 | Routeur *accelRouter = new Routeur(p13, p14); |
RufflesAllD | 4:aac38b016952 | 8 | accelRouter->initAccel(); |
RufflesAllD | 4:aac38b016952 | 9 | |
RufflesAllD | 4:aac38b016952 | 10 | while(true) |
RufflesAllD | 4:aac38b016952 | 11 | { |
RufflesAllD | 4:aac38b016952 | 12 | accelRouter->sendAccelValues(); |
RufflesAllD | 4:aac38b016952 | 13 | accelRouter->sendSwitchValue(); |
RufflesAllD | 4:aac38b016952 | 14 | wait(0.2); |
RufflesAllD | 4:aac38b016952 | 15 | } |
joGenie | 0:71df0feee697 | 16 | } |