Doxygen comments added
Dependencies: mbed Gamepad N5110
main.cpp
- Committer:
- rafeh
- Date:
- 2019-03-25
- Revision:
- 0:43364ffd7cf6
- Child:
- 1:beceda7046fb
File content as of revision 0:43364ffd7cf6:
/* 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(); }