AD_Flash
main.cpp
- Committer:
- HarishMekali
- Date:
- 2013-02-18
- Revision:
- 0:ba3588c03b72
File content as of revision 0:ba3588c03b72:
#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); }