routeur done
Dependencies: mbed
Fork of APP4 by
main.cpp@1:2834a4d9fa61, 2014-02-23 (annotated)
- Committer:
- RufflesAllD
- Date:
- Sun Feb 23 23:59:08 2014 +0000
- Revision:
- 1:2834a4d9fa61
- Parent:
- 0:71df0feee697
cdf
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 | |
RufflesAllD | 1:2834a4d9fa61 | 5 | DigitalOut reset(p8); |
RufflesAllD | 1:2834a4d9fa61 | 6 | Serial pc(USBTX, USBRX); |
RufflesAllD | 1:2834a4d9fa61 | 7 | Serial portCom(p13, p14); |
RufflesAllD | 1:2834a4d9fa61 | 8 | |
joGenie | 0:71df0feee697 | 9 | int main() |
joGenie | 0:71df0feee697 | 10 | { |
RufflesAllD | 1:2834a4d9fa61 | 11 | reset = 0; |
RufflesAllD | 1:2834a4d9fa61 | 12 | wait(0.4); |
RufflesAllD | 1:2834a4d9fa61 | 13 | reset = 1; |
joGenie | 0:71df0feee697 | 14 | |
RufflesAllD | 1:2834a4d9fa61 | 15 | portCom.printf("Bonjour, toi!!!"); |
joGenie | 0:71df0feee697 | 16 | |
joGenie | 0:71df0feee697 | 17 | return 0; |
joGenie | 0:71df0feee697 | 18 | } |