ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot_Team by ECE4333 - 2018 - Ahmed & Brandon

Drivers/DE0_driver.h

Committer:
asobhy
Date:
2018-02-23
Revision:
9:fe56b888985c
Parent:
8:a0890fa79084

File content as of revision 9:fe56b888985c:

/******************************************************************************/
// ECE4333
// 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(sensors_t * sensors);



#endif