Dependencies:   mbed FATFileSystem

main.cpp

Committer:
ellisbhastroud
Date:
2019-03-18
Revision:
1:6179c2d67d19
Parent:
0:c6ceddb241df
Child:
2:81cfa8310f55

File content as of revision 1:6179c2d67d19:

/*
ELEC2645 Embedded Systems Project
School of Electronic & Electrical Engineering
University of Leeds
Name: Ellis Blackford Stroud
Username: el17ebs
Student ID Number: 201155309
Date: 09/05/19
*/
#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
#include "Menu.h"

// objects 
N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);
Gamepad pad;

int main()
{
    init();
    print_welcome();
    wait(3);
    print_menu();
}

void init()
{
    lcd.init();
    pad.init();
}