Code for the car to drive in a figure eight motion

Dependencies:   mbed-rtos mbed MODSERIAL mbed-dsp telemetry

Revision:
12:45e6cb021301
Parent:
11:f8aa39c19477
Child:
13:97708869a4ba
--- a/main.cpp	Fri Mar 20 02:54:21 2015 +0000
+++ b/main.cpp	Fri Mar 20 03:34:38 2015 +0000
@@ -16,23 +16,20 @@
 // Interrupt for encoder
 InterruptIn interrupt(PTA13);
 
-void read_sensors(){
-    
-}
+float line [128];
+Mutex line_mutex;
 
-void actuate(){
-    
-}
 void linecam_thread(void const *args){
+    while
+    line_mutex.lock();
     
 }
 
 
 int main() {
     Thread thread(linecam_thread);
-    Encoder encoder = 
+    
     while(1) {
-        read_sensors();
-        actuate();
+        
     }
 }