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:
- joebarhouch
- Date:
- 2020-04-10
- Revision:
- 2:f22cb01c43bc
- Parent:
- 1:7fe71d8e48da
- Child:
- 3:e4e1cbf750b6
File content as of revision 2:f22cb01c43bc:
/*
ELEC2645 Embedded Systems Project
School of Electronic & Electrical Engineering
University of Leeds
2019/20
Name: Joe Barhouch
Username: el18jb
Student ID Number: 201291584
Date:
*/
// includes
#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
#include "Bitmap.h"
// objects
Gamepad pad;
N5110 lcd;
void init();
int main(){
init();
lcd.setContrast(0.5);
while(1){
lcd.clear();
lcd.refresh();
}
}
void init(){
lcd.init();
pad.init();
}