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.
Startup/startup.h
- Committer:
- lukeocarwright
- Date:
- 2020-05-23
- Revision:
- 22:028f1627c262
- Parent:
- 14:9cfe0041cc4e
- Child:
- 33:e7635c8a58a8
File content as of revision 22:028f1627c262:
#ifndef STARTUP_H #define STARTUP_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" #include "LUTs.h" /** startup class * @author Luke Cartwright, University of Leeds * @brief: manages startup and initialisation * @date May 2020 */ //Global Variables volatile extern uint16_t sin_wavtable[1024]; volatile extern uint16_t tri_wavtable[1024]; volatile extern uint16_t pulse_wavtable[1024]; class startup { public: //variables float fl; //frequency Variable //methods /** Constructor */ startup(); /** Destructior */ ~startup(); /** intitialsie function. * @Initialises all main gmaepad components. * @Also Generates Preliminary LUTs */ void initialise(N5110 &lcd, Gamepad &pad); private://---------------------------------------------------------------------- }; #endif