USBMSD SD card Hello World for Mbed platforms
Dependencies: mbed USBMSD_SD USBDevice
main.cpp@17:364ef42e502d, 2011-12-11 (annotated)
- Committer:
- samux
- Date:
- Sun Dec 11 15:07:59 2011 +0000
- Revision:
- 17:364ef42e502d
- Parent:
- 16:c753717bfd4d
- Child:
- 18:08b207d10056
OK: will write doc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
samux |
2:27a7e7f8d399 | 1 | #include "mbed.h" |
samux |
7:6494da2a5c60 | 2 | #include "SDFileSystem.h" |
samux |
2:27a7e7f8d399 | 3 | |
samux |
17:364ef42e502d | 4 | SDFileSystem sd(p5, p6, p7, p8); |
samux |
10:cf8fd2b6ca23 | 5 | |
samux |
2:27a7e7f8d399 | 6 | int main() { |
samux |
17:364ef42e502d | 7 | sd.connect(); |
samux |
17:364ef42e502d | 8 | while(1); |
samux |
9:9c343b9ee6d8 | 9 | } |