![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.
Dependencies: mbed FXOS8700CQ mbed-rtos
Diff: main.cpp
- Revision:
- 13:02002658e718
- Parent:
- 12:71683453f66a
- Child:
- 15:a65444eb1194
diff -r 71683453f66a -r 02002658e718 main.cpp --- a/main.cpp Mon Apr 15 01:38:53 2019 +0000 +++ b/main.cpp Wed Apr 17 17:53:56 2019 +0000 @@ -15,6 +15,7 @@ #include "Start.h" #include "Game_one.h" #include "Exam.h" +#include "FXOS8700CQ.h" /////////////// objects /////////////// N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); // K64F - pwr from 3V3 @@ -23,6 +24,8 @@ Start start; Game_one game_1; Exam test; +// I2C connection for FXOS8700CQ accelerometer/magnetometer +I2C fxos8700cq(I2C_SDA,I2C_SCL); // PTE25/PTE24 ///////////// prototypes /////////////// void init();