Doxygen comments added
Dependencies: mbed Gamepad N5110
Diff: main.cpp
- Revision:
- 0:43364ffd7cf6
- Child:
- 1:beceda7046fb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Mar 25 13:28:14 2019 +0000 @@ -0,0 +1,39 @@ +/* +ELEC2645 Embedded Systems Project +School of Electronic & Electrical Engineering +University of Leeds +Name: Rafeh Ishtiaq +Username: el17ri +Student ID Number: 201062291 +Date: 20/03/2019 +*/ + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); +Gamepad pad; + + +void welcome(); + +int main() { + lcd.init(); + pad.init(); + lcd.clear(); + lcd.setContrast(0.4); + +welcome(); +} + +void welcome() { + + lcd.printString(" Snake ",0,1); + lcd.printString(" Press Start of start ",0,3); + lcd.printString + lcd.refresh(); + + } + + \ No newline at end of file