ECE4333 - 2018 - Ahmed & Brandon / Mbed OS ObjectFollower

Dependencies:   TPixy-Interface

Fork of PlayBack by ECE4333 - 2018 - Ahmed & Brandon

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DE0_driver.h Source File

DE0_driver.h

00001 /******************************************************************************/
00002 // ECE4333
00003 // LAB Partner 1:   Ahmed Sobhy - ID: 3594449
00004 // LAB Partner 2:   Brandon Kingman - ID: 3470444
00005 // Project:         Autonomous Robot Design
00006 // Instructor:      Prof. Chris Diduch
00007 /******************************************************************************/
00008 
00009 #ifndef DE0_DRIVER_H
00010 #define DE0_DRIVER_H
00011 
00012 typedef struct {
00013     uint16_t id;
00014     int dp_right;
00015     uint16_t dt_right;
00016     int dp_left;
00017     uint16_t dt_left;
00018     } sensors_t;
00019 
00020 
00021 void DE0_init(void);
00022 void DE0_read(sensors_t * sensors);
00023 
00024 
00025 
00026 #endif