
Final Commit
Dependencies: mbed
main.cpp
- Committer:
- JRM1986
- Date:
- 2018-03-07
- Revision:
- 4:a9634970d33e
- Parent:
- 3:50f01159c61d
- Child:
- 5:27fcb9b36e7e
File content as of revision 4:a9634970d33e:
#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(0.5); } }