Mapping programm, using an minimu9 V3 sensormodule and an USB-library to save the sensorvalues on.

Dependencies:   FatFileSystem m3pi_TUB mbed

Fork of USB-A by Chris Styles

Committer:
chris
Date:
Mon Sep 13 14:20:21 2010 +0000
Revision:
0:4e756c4c88a7
Child:
1:c92781bb4d5e

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chris 0:4e756c4c88a7 1 #include "mbed.h"
chris 0:4e756c4c88a7 2 #include "MSCFileSystem.h"
chris 0:4e756c4c88a7 3
chris 0:4e756c4c88a7 4 MSCFileSystem fs ("fs");
chris 0:4e756c4c88a7 5
chris 0:4e756c4c88a7 6 int main () {
chris 0:4e756c4c88a7 7
chris 0:4e756c4c88a7 8 FILE *fp = fopen("/fs/hello.txt","w");
chris 0:4e756c4c88a7 9 fprintf(fp,"Hello world!\n");
chris 0:4e756c4c88a7 10 fclose (fp);
chris 0:4e756c4c88a7 11
chris 0:4e756c4c88a7 12 }