kubtss / Mbed 2 deprecated BIRD2017

Dependencies:   mbed-rtos mbed

Revision:
35:63ccdae58da4
Parent:
34:770a6bbb4d63
Child:
36:ad6b2b81bb89
--- a/Global.h	Wed Mar 01 14:34:27 2017 +0000
+++ b/Global.h	Sat Mar 18 08:34:17 2017 +0000
@@ -3,10 +3,13 @@
 
 #include "mbed.h"
 #include "rtos.h"
+#include "FlashManager.h"
 
 
 class Global {
     
+    static class SPI spi;
+    
     static double maxpitch;
     static double minpitch;
     static double neutralpitch;
@@ -64,6 +67,7 @@
     
     
     public :
+    void setpc(RawSerial _pc);
     static Queue<char, 20> initqueue;
     static Queue<char, 20> displayqueue;
     
@@ -76,7 +80,7 @@
     
     static class Timer timer;
     static class DigitalOut led;
-    //static class LocalFileSystem local;
+    static class FlashManager memory;
 
     
     static double getmaxpitch();
@@ -173,4 +177,4 @@
     static void setmiconvolt(double _miconvolt);
 };
 
-#endif
\ No newline at end of file
+#endif