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:
- 29:207111ffd6e6
- Parent:
- 19:08862f49cd9e
- Child:
- 30:08cc4ec58d07
--- a/LUTs/LUTS.cpp Mon May 25 10:46:02 2020 +0000
+++ b/LUTs/LUTS.cpp Mon May 25 20:00:31 2020 +0000
@@ -88,12 +88,12 @@
up_t=(pulsewidth*1024/100);
up_tu=(uint16_t)up_t;
for (int i=0; i<=up_tu; i++) {
- pulse_wavtable[i]=65535;
+ pulse_wavtable[i]=58981;
//printf("up itt = %d\n",i);
}
for (int i=up_tu+1; i<1024; i++) {
- pulse_wavtable[i]=0;
+ pulse_wavtable[i]=6553;
//printf("down itt = %d\n",i);
}
}