Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Committer:
lukeocarwright
Date:
Fri May 08 20:08:36 2020 +0000
Revision:
12:7a399a476cfd
Parent:
10:258a1eca02cc
Child:
14:9cfe0041cc4e
Added suitable title screen

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lukeocarwright 7:33cb5f2db1ee 1 #include "mbed.h"
lukeocarwright 7:33cb5f2db1ee 2 #include "startup.h"
lukeocarwright 7:33cb5f2db1ee 3
lukeocarwright 7:33cb5f2db1ee 4 //objects
lukeocarwright 7:33cb5f2db1ee 5 LUTs lut;
lukeocarwright 7:33cb5f2db1ee 6
lukeocarwright 12:7a399a476cfd 7 const int CART_SYNTH_LOGO[48][84] = {//sub 1
lukeocarwright 12:7a399a476cfd 8 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 },
lukeocarwright 12:7a399a476cfd 9 { 0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0 },
lukeocarwright 12:7a399a476cfd 10 { 0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0 },
lukeocarwright 12:7a399a476cfd 11 { 0,0,0,1,0,0,0,0,1,1,1,1,1,0,0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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0 },
lukeocarwright 12:7a399a476cfd 54 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 },
lukeocarwright 12:7a399a476cfd 55 };
lukeocarwright 7:33cb5f2db1ee 56
lukeocarwright 7:33cb5f2db1ee 57 //constructor/destructor
lukeocarwright 7:33cb5f2db1ee 58 startup::startup()
lukeocarwright 7:33cb5f2db1ee 59 {
lukeocarwright 7:33cb5f2db1ee 60 }
lukeocarwright 7:33cb5f2db1ee 61 startup::~startup()
lukeocarwright 7:33cb5f2db1ee 62 {
lukeocarwright 7:33cb5f2db1ee 63 }
lukeocarwright 7:33cb5f2db1ee 64
lukeocarwright 7:33cb5f2db1ee 65 //methods
lukeocarwright 7:33cb5f2db1ee 66 void startup::initialise(N5110 &lcd, Gamepad &pad)
lukeocarwright 7:33cb5f2db1ee 67 {
lukeocarwright 7:33cb5f2db1ee 68 pad.init(); //initiate Gamepad
lukeocarwright 7:33cb5f2db1ee 69 printf("Initialising Pad\n");
lukeocarwright 7:33cb5f2db1ee 70 lcd.init(); //intitates screen
lukeocarwright 7:33cb5f2db1ee 71 lcd.clear();
lukeocarwright 7:33cb5f2db1ee 72 lcd.setContrast(0.5); //contrast setting
lukeocarwright 7:33cb5f2db1ee 73 lcd.inverseMode(); //puts screen in -ve
lukeocarwright 7:33cb5f2db1ee 74 //Prints CART SYNTH to display
lukeocarwright 12:7a399a476cfd 75 lcd.drawSprite(0,0,48,84,(int *)CART_SYNTH_LOGO);
lukeocarwright 7:33cb5f2db1ee 76 lcd.refresh();
lukeocarwright 10:258a1eca02cc 77 lut.initial_wavetables();
lukeocarwright 12:7a399a476cfd 78 wait_ms(3000); //timer to allow theme to play out
lukeocarwright 7:33cb5f2db1ee 79 lcd.clear();
lukeocarwright 7:33cb5f2db1ee 80 lcd.refresh(); //sets clear screen
lukeocarwright 7:33cb5f2db1ee 81 }