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_debug.h
- Revision:
- 30:08cc4ec58d07
- Parent:
- 21:60f01b17b0a6
- Child:
- 31:cfdb014ff086
diff -r 207111ffd6e6 -r 08cc4ec58d07 LUTs/LUTs_debug.h --- a/LUTs/LUTs_debug.h Mon May 25 20:00:31 2020 +0000 +++ b/LUTs/LUTs_debug.h Tue May 26 10:17:47 2020 +0000 @@ -16,12 +16,11 @@ * @returns true sin table value */ bool sin_debug(int i, int expected_sin) - //method luts.sin_wavetable(); - if (sin_wavtable[i]==expected_sin) { return (1); } else { + printf("expected-%i__real-%u \n",expected_sin,sin_wavtable[i]); return(0); } } @@ -32,7 +31,6 @@ */ bool tri_debug(int pulsewidth,int i, int expected_tri) { - //method luts.tri_wavetable(pulsewidth); if (tri_wavtable[i]==expected_tri) { @@ -49,7 +47,6 @@ */ bool pulse_debug(int pulsewidth,int i, int expected_pulse) { - //method luts.pulse_wavetable(pulsewidth); if (pulse_wavtable[i]==expected_pulse) {