Code with mutex and threads

Dependencies:   C12832 Servo mbed-rtos-edited mbed

Fork of NervousPuppySprintOne by Sprint One

Revision:
8:921bd8c81549
Parent:
6:f854aa2f41e2
--- a/nervousPuppy.h	Wed Jan 28 16:49:16 2015 +0000
+++ b/nervousPuppy.h	Thu Feb 26 17:21:09 2015 +0000
@@ -9,11 +9,18 @@
 #define Sin(a) sin(PI/180*(a))
 #define PI 3.1415926
 
+
+Mutex s1_thread;
+Mutex s2_thread;
+Mutex lcdmutex_thread;
+
+float x,y;
+
 class nervousPuppy{
     public:
 
         nervousPuppy();
-        
+                        
         bool isLonely();
         bool isScared();
         bool shutdown();