Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17x2l by
main.cpp
00001 /* 00002 ELEC2645 Embedded Systems Project 00003 School of EE 00004 University of Leeds 00005 00006 Name:Li Xiang 00007 Username: lxlx 00008 Student ID Number:201199512 00009 Date:5.5 00010 */ 00011 00012 #include "mbed.h" 00013 #include "Gamepad.h" 00014 #include "N5110.h" 00015 #include "Menu.h" 00016 00017 N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); 00018 Gamepad pad; 00019 Menu _menu; 00020 00021 void init(); 00022 00023 int main() 00024 { 00025 init(); 00026 _menu.init(pad,lcd); 00027 _menu.game(pad,lcd); 00028 } 00029 00030 void init() 00031 { 00032 // need to initialise LCD and Gamepad 00033 lcd.init(); 00034 pad.init(); 00035 }
Generated on Tue Jul 26 2022 09:08:54 by
1.7.2
