Declaration: I have read the University Regulations on Plagiarism [1] and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources. I understand that my code will be run through a source code plagiarism detection engine and will be compared to all code submitted in this module (both in Leeds and at the Joint School in China). I confirm my consent to the University copying and distributing any or all of my work in any form and using third parties (who may be based outside the EU/EEA) to monitor breaches of regulations, to verify whether my work contains plagiarised material, and for quality assurance purposes. I confirm that details of any mitigating circumstances or other matters which might have affected my performance and which I wish to bring to the attention of the examiners, have been submitted to the Student Support Office. [1] Available on the School Student Intranet

Dependencies:   mbed Gamepad N5110 Joystick

Committer:
el16dlc
Date:
Thu May 09 07:26:07 2019 +0000
Revision:
4:0fc3441556e1
Parent:
1:b9f3b7d869d8
Child:
5:23a85b16ee54
5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el16dlc 1:b9f3b7d869d8 1 #ifndef MAIN_H
el16dlc 1:b9f3b7d869d8 2 #define MAIN_H
el16dlc 1:b9f3b7d869d8 3
el16dlc 1:b9f3b7d869d8 4 // LIBRARIES
el16dlc 1:b9f3b7d869d8 5 #include "mbed.h"
el16dlc 1:b9f3b7d869d8 6 #include "N5110.h"
el16dlc 1:b9f3b7d869d8 7 #include "Gamepad.h"
el16dlc 1:b9f3b7d869d8 8 #include "Snake.h"
el16dlc 1:b9f3b7d869d8 9 #include "Game_engine.h"
el16dlc 4:0fc3441556e1 10 #include <stdio.h>
el16dlc 4:0fc3441556e1 11 #include <stdlib.h>
el16dlc 4:0fc3441556e1 12 #include <time.h>
el16dlc 1:b9f3b7d869d8 13
el16dlc 1:b9f3b7d869d8 14 // INSTANCES
el16dlc 1:b9f3b7d869d8 15 extern N5110 lcd;
el16dlc 1:b9f3b7d869d8 16 extern Gamepad gamepad;
el16dlc 1:b9f3b7d869d8 17
el16dlc 1:b9f3b7d869d8 18 // FUNCTION PROTOTYPES
el16dlc 1:b9f3b7d869d8 19 void Init();
el16dlc 1:b9f3b7d869d8 20 void Welcome();
el16dlc 1:b9f3b7d869d8 21 void render();
el16dlc 4:0fc3441556e1 22 void update();
el16dlc 1:b9f3b7d869d8 23
el16dlc 1:b9f3b7d869d8 24 #endif