Jake Billingham
/
computingproject
JKDVSK`
Fork of mbed_menu by
Diff: menu_menu.cpp
- Revision:
- 4:f1fcad386421
- Parent:
- 3:551061b40ccc
- Child:
- 5:ae4520f72498
--- a/menu_menu.cpp Wed Nov 08 11:37:44 2017 +0000 +++ b/menu_menu.cpp Wed Nov 08 11:57:56 2017 +0000 @@ -2,7 +2,7 @@ #include "mbed.h" #include "stdio.h" #include "math.h" -#include "ADXL362.h +#include "ADXL362.h" //Define serial connection Serial pc(USBTX, USBRX); @@ -11,9 +11,6 @@ //Set up local file system to allow writing of txt files LocalFileSystem local("local"); -//??? -int matlabdata; -char usercmd; //Define paramater strings for communication over USB char N[1000]; //Number of samples @@ -28,7 +25,7 @@ char res[100];//String to store user command - matlabdata=pc.scanf("%s",res);//Get user command from matlab + pc.scanf("%s",res);//Get user command from matlab while(1) {