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:
- 10:258a1eca02cc
- Parent:
- 9:f6ba53e355a0
- Child:
- 11:6ae098535da9
--- a/LUTs/LUTs.h Wed May 06 14:37:34 2020 +0000 +++ b/LUTs/LUTs.h Wed May 06 19:51:22 2020 +0000 @@ -24,15 +24,20 @@ //methods + void initial_wavetables(); void sin_wavetable(); - //uint16_t get_sin(int i); + void tri_wavetable(int pulsewidth); private: //variables float rem; float sin_d; uint16_t sin_u; + float dif; + uint16_t dif_u; int i; + float rise_t; + float fall_t; }; #endif \ No newline at end of file