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.
Diff: LUTs/LUTs.h
- Revision:
- 14:9cfe0041cc4e
- Parent:
- 11:6ae098535da9
- Child:
- 15:1c67f064278e
--- a/LUTs/LUTs.h Sat May 09 13:45:23 2020 +0000 +++ b/LUTs/LUTs.h Tue May 19 15:04:33 2020 +0000 @@ -5,12 +5,12 @@ #include "N5110.h" #include "Gamepad.h" - /** LUTs class * @author Luke Cartwright, University of Leeds * @brief generates LUTs * @date May 2020 */ + class LUTs { public: @@ -19,10 +19,6 @@ //destructior ~LUTs(); - //variables - - - //methods void initial_wavetables(); void sin_wavetable(); @@ -31,7 +27,7 @@ private: //variables - float rem; + double rem; float sin_d; uint16_t sin_u; float dif; @@ -42,6 +38,5 @@ uint16_t fall_tu; float up_t; int up_tu; - }; #endif \ No newline at end of file