ManualControl
Dependencies: TPixy-Interface
Fork of MbedOS_Robot_Team by
Drivers/DE0_driver.h@9:fe56b888985c, 2018-02-23 (annotated)
- Committer:
- asobhy
- Date:
- Fri Feb 23 20:58:34 2018 +0000
- Revision:
- 9:fe56b888985c
- Parent:
- 8:a0890fa79084
right after the two motors are running
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
asobhy | 8:a0890fa79084 | 1 | /******************************************************************************/ |
asobhy | 8:a0890fa79084 | 2 | // ECE4333 |
asobhy | 9:fe56b888985c | 3 | // LAB Partner 1: Ahmed Sobhy - ID: 3594449 |
asobhy | 9:fe56b888985c | 4 | // LAB Partner 2: Brandon Kingman - ID: 3470444 |
asobhy | 9:fe56b888985c | 5 | // Project: Autonomous Robot Design |
asobhy | 9:fe56b888985c | 6 | // Instructor: Prof. Chris Diduch |
asobhy | 8:a0890fa79084 | 7 | /******************************************************************************/ |
asobhy | 8:a0890fa79084 | 8 | |
asobhy | 0:a355e511bc5d | 9 | #ifndef DE0_DRIVER_H |
asobhy | 0:a355e511bc5d | 10 | #define DE0_DRIVER_H |
asobhy | 0:a355e511bc5d | 11 | |
asobhy | 9:fe56b888985c | 12 | typedef struct { |
asobhy | 9:fe56b888985c | 13 | uint16_t id; |
asobhy | 9:fe56b888985c | 14 | int dp_right; |
asobhy | 9:fe56b888985c | 15 | uint16_t dt_right; |
asobhy | 9:fe56b888985c | 16 | int dp_left; |
asobhy | 9:fe56b888985c | 17 | uint16_t dt_left; |
asobhy | 9:fe56b888985c | 18 | } sensors_t; |
asobhy | 0:a355e511bc5d | 19 | |
asobhy | 0:a355e511bc5d | 20 | |
asobhy | 0:a355e511bc5d | 21 | void DE0_init(void); |
asobhy | 9:fe56b888985c | 22 | void DE0_read(sensors_t * sensors); |
asobhy | 0:a355e511bc5d | 23 | |
asobhy | 0:a355e511bc5d | 24 | |
asobhy | 0:a355e511bc5d | 25 | |
asobhy | 0:a355e511bc5d | 26 | #endif |