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.
LUTs/LUTs.h@7:33cb5f2db1ee, 2020-05-05 (annotated)
- Committer:
- lukeocarwright
- Date:
- Tue May 05 14:32:04 2020 +0000
- Revision:
- 7:33cb5f2db1ee
- Child:
- 9:f6ba53e355a0
Added initial GUI for front and sorted menu bug
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lukeocarwright | 7:33cb5f2db1ee | 1 | #ifndef LUTs_H |
lukeocarwright | 7:33cb5f2db1ee | 2 | #define LUTs_H |
lukeocarwright | 7:33cb5f2db1ee | 3 | |
lukeocarwright | 7:33cb5f2db1ee | 4 | #include "mbed.h" |
lukeocarwright | 7:33cb5f2db1ee | 5 | #include "N5110.h" |
lukeocarwright | 7:33cb5f2db1ee | 6 | #include "Gamepad.h" |
lukeocarwright | 7:33cb5f2db1ee | 7 | |
lukeocarwright | 7:33cb5f2db1ee | 8 | /** LUTs class |
lukeocarwright | 7:33cb5f2db1ee | 9 | * @author Luke Cartwright, University of Leeds |
lukeocarwright | 7:33cb5f2db1ee | 10 | * @brief generates LUTs |
lukeocarwright | 7:33cb5f2db1ee | 11 | * @date May 2020 |
lukeocarwright | 7:33cb5f2db1ee | 12 | */ |
lukeocarwright | 7:33cb5f2db1ee | 13 | class LUTs |
lukeocarwright | 7:33cb5f2db1ee | 14 | { |
lukeocarwright | 7:33cb5f2db1ee | 15 | public: |
lukeocarwright | 7:33cb5f2db1ee | 16 | //constructor |
lukeocarwright | 7:33cb5f2db1ee | 17 | LUTs(); |
lukeocarwright | 7:33cb5f2db1ee | 18 | //destructior |
lukeocarwright | 7:33cb5f2db1ee | 19 | ~LUTs(); |
lukeocarwright | 7:33cb5f2db1ee | 20 | |
lukeocarwright | 7:33cb5f2db1ee | 21 | //variables |
lukeocarwright | 7:33cb5f2db1ee | 22 | float wavtable[4096]; |
lukeocarwright | 7:33cb5f2db1ee | 23 | float sin_d[4096]; |
lukeocarwright | 7:33cb5f2db1ee | 24 | |
lukeocarwright | 7:33cb5f2db1ee | 25 | //methods |
lukeocarwright | 7:33cb5f2db1ee | 26 | void sin_wavetable(); |
lukeocarwright | 7:33cb5f2db1ee | 27 | |
lukeocarwright | 7:33cb5f2db1ee | 28 | private: |
lukeocarwright | 7:33cb5f2db1ee | 29 | //variables |
lukeocarwright | 7:33cb5f2db1ee | 30 | |
lukeocarwright | 7:33cb5f2db1ee | 31 | |
lukeocarwright | 7:33cb5f2db1ee | 32 | }; |
lukeocarwright | 7:33cb5f2db1ee | 33 | #endif |