All tasks complete

Dependencies:   mbed MCP23017 mbed-rtos WattBob_TextLCD

Revision:
4:27340b291c09
Parent:
3:f88d667629e6
Child:
5:f5dda79b93cb
--- a/header.h	Mon Mar 25 21:13:24 2019 +0000
+++ b/header.h	Tue Mar 26 14:49:10 2019 +0000
@@ -3,8 +3,8 @@
 
 #include "mbed.h"
 #include "WattBob_TextLCD.h"
-#include <vector> 
 #include "rtos.h"
+#include "MCP23017.h"
 
 #define     pin_analog_1    p15
 #define     pin_analog_2    p16
@@ -37,26 +37,32 @@
     float rawspeed;
 }SDATA;
 
-SDATA speed;
 
 
-typedef enum    signallite{   }IND_TURN;//should be filled with the ind stuff i believe 
+
 
 
 typedef struct
 {
     int       ENGINESTATE;
     uint8_t     odometer;
-    IND_TURN    ind;    
-}CARINFO;//finish this struct
+    uint8_t     leftind;
+    uint8_t     rightind;
+    uint8_t     sideind;
+}CARINFO;
 
-CARINFO info;
+
 
-// pointer to 16-bit parallel I/O object
-MCP23017 *par_port; 
+typedef struct
+{
+    float brakevalue;
+    float accelvalue;
+    float odometer;
+    float rawspeed;
+    
+}SIMU_DATA;
 
-// pointer to 2*16 chacater LCD object 
-WattBob_TextLCD *lcd; 
+
 
 
 //calling all functions