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.
Dependencies: mbed
startup.h
00001 #ifndef STARTUP_H 00002 #define STARTUP_H 00003 00004 #include "mbed.h" 00005 #include "N5110.h" 00006 #include "Gamepad.h" 00007 #include "LUTs.h" 00008 00009 /** startup class 00010 * @author Luke Cartwright, University of Leeds 00011 * @brief: manages startup and initialisation 00012 * @date May 2020 00013 */ 00014 //Global Variables 00015 volatile extern uint16_t sin_wavtable[1024]; 00016 volatile extern uint16_t tri_wavtable[1024]; 00017 volatile extern uint16_t pulse_wavtable[1024]; 00018 00019 class startup 00020 { 00021 public: 00022 //variables 00023 float fl; //frequency Variable 00024 00025 //methods 00026 /** Constructor */ 00027 startup(); 00028 00029 /** Destructior */ 00030 ~startup(); 00031 00032 /** intitialsie function. 00033 * @Initialises all main gamepad components. 00034 * @Also Generates Preliminary LUTs 00035 */ 00036 void initialise(N5110 &lcd, Gamepad &pad); 00037 00038 private://---------------------------------------------------------------------- 00039 00040 }; 00041 00042 #endif
Generated on Wed Jul 13 2022 21:50:34 by
