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.cpp
- Revision:
- 19:08862f49cd9e
- Parent:
- 15:1c67f064278e
- Child:
- 29:207111ffd6e6
--- a/LUTs/LUTS.cpp Thu May 21 22:59:59 2020 +0000 +++ b/LUTs/LUTS.cpp Fri May 22 20:10:00 2020 +0000 @@ -54,14 +54,14 @@ dif=65536/rise_t; dif_u=(uint16_t)dif; - #ifdef SLOW_TIME + /*#ifdef SLOW_TIME printf("PRINTING TRI WAVETABLE Values\n"); printf("PW= %d \n",pulsewidth); printf("Rise Samples= %u\n", rise_tu); printf("Fall Samples= %u\n", fall_tu); printf("UP sample dif= %u\n", dif_u); #endif - + */ for (int i=1; i<=rise_tu; i++) { tri_wavtable[i]=tri_wavtable[i-1]+dif_u; } @@ -69,7 +69,7 @@ dif_u=(uint16_t)dif; #ifdef SLOW_TIME - printf("down sample dif= %u\n", dif_u); + //printf("down sample dif= %u\n", dif_u); #endif for (int i=rise_tu; i<1024; i++) { @@ -77,7 +77,7 @@ } #ifdef SLOW_TIME - tri_wav_results(); + //tri_wav_results(); #endif }