AD_Flash

Dependencies:   TextLCD mbed

Revision:
0:ba3588c03b72
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Feb 18 14:30:54 2013 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+AnalogIn    a_in(p18);
+LocalFileSystem local("local");
+float a;
+int main() 
+{
+FILE *fp=fopen("/local/bms.csv","a");
+a=a_in.read();
+fprintf(fp,"%0.3f",a);
+fclose(fp);
+}