JKDVSK`

Dependencies:   ADXL362 mbed

Fork of mbed_menu by Rosie Lewis

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)
     {