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.
main.cpp
- Committer:
- JamesCummins
- Date:
- 2019-04-02
- Revision:
- 1:99d524f81566
- Parent:
- 0:7c96d84b673e
- Child:
- 3:f2e5ffd2b94c
File content as of revision 1:99d524f81566:
/* ELEC2645 Embedded Systems Project School of Electronic & Electrical Engineering University of Leeds Name: James Nathan Cummins Username: el17jnc Student ID Number: 201096364 Date: 22/03/19 */ #include "Gamepad.h" #include "mbed.h" #include "N5110.h" Gamepad gamepad(); N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11); void startmenu(); int main(){ /*gamepad.init();*/ lcd.init(); startmenu(); } void startmenu() { lcd.clear(); char gamename[] = {'L', 'A', 'B', 'Y', 'R', 'I', 'N', 'T', 'H', '\0'}; for (int i = 0; i < 9; i++) { lcd.printChar(gamename[i], i*6, 0); lcd.refresh(); wait(0.2); } }