
Final Commit
Dependencies: mbed
main.cpp
- Committer:
- JRM1986
- Date:
- 2018-03-06
- Revision:
- 3:50f01159c61d
- Parent:
- 0:53ee0f689634
- Child:
- 4:a9634970d33e
File content as of revision 3:50f01159c61d:
#include "mbed.h" #include "FXOS8700CQ.h" #include "Gamepad.h" #include "N5110.h" #include "Food.h" /* ELEC2645 Embedded Systems Project School of Electronic & Electrical Engineering University of Leeds Name: Joshua Robert Marshall Username: ll13jrm Student ID Number: 200764543 Date: 28/02/2018 */ Food food; int main() { while(1){ Position pf = food.get_position(); printf("Position x %i \n Position y %i \n", pf.x, pf.y); wait(1.0); } }