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:
- 9:f6ba53e355a0
- Parent:
- 7:33cb5f2db1ee
- Child:
- 10:258a1eca02cc
--- a/LUTs/LUTs.h Tue May 05 16:46:01 2020 +0000 +++ b/LUTs/LUTs.h Wed May 06 14:37:34 2020 +0000 @@ -5,6 +5,7 @@ #include "N5110.h" #include "Gamepad.h" + /** LUTs class * @author Luke Cartwright, University of Leeds * @brief generates LUTs @@ -19,15 +20,19 @@ ~LUTs(); //variables - float wavtable[4096]; - float sin_d[4096]; + + //methods void sin_wavetable(); + //uint16_t get_sin(int i); private: //variables - + float rem; + float sin_d; + uint16_t sin_u; + int i; }; #endif \ No newline at end of file