ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot_Team by ECE4333 - 2018 - Ahmed & Brandon

Revision:
9:fe56b888985c
Parent:
8:a0890fa79084
--- a/Drivers/DE0_driver.h	Mon Feb 19 17:42:33 2018 +0000
+++ b/Drivers/DE0_driver.h	Fri Feb 23 20:58:34 2018 +0000
@@ -1,19 +1,25 @@
 /******************************************************************************/
 // ECE4333
-// LAB Partner 1: Ahmed Sobhy - ID: 3594449
-// LAB Partner 2: Brandon Kingman - ID: 3470444
-// Project: Autonomous Robot Design
-// Instructor: Prof. Chris Diduch
+// LAB Partner 1:   Ahmed Sobhy - ID: 3594449
+// LAB Partner 2:   Brandon Kingman - ID: 3470444
+// Project:         Autonomous Robot Design
+// Instructor:      Prof. Chris Diduch
 /******************************************************************************/
 
 #ifndef DE0_DRIVER_H
 #define DE0_DRIVER_H
 
-
+typedef struct {
+    uint16_t id;
+    int dp_right;
+    uint16_t dt_right;
+    int dp_left;
+    uint16_t dt_left;
+    } sensors_t;
 
 
 void DE0_init(void);
-void DE0_read(uint16_t *, int * , uint16_t *);
+void DE0_read(sensors_t * sensors);