Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
21:60f01b17b0a6
Parent:
11:6ae098535da9
Child:
30:08cc4ec58d07
diff -r fe235c124c67 -r 60f01b17b0a6 LUTs/LUTs_debug.h
--- a/LUTs/LUTs_debug.h	Fri May 22 21:11:12 2020 +0000
+++ b/LUTs/LUTs_debug.h	Sat May 23 14:40:40 2020 +0000
@@ -11,8 +11,11 @@
 // Objects
 LUTs luts;
 
+/**debugs sine wave
+* @takes input wavetable number and expected
+* @returns true sin table value
+*/ 
 bool sin_debug(int i, int expected_sin)
-{
     //method
     luts.sin_wavetable();
 
@@ -23,6 +26,10 @@
     }
 }
 
+/**debugs tri wave
+* @takes input Pulsewidth, wavetable number and expected
+* @returns true tri table value
+*/ 
 bool tri_debug(int pulsewidth,int i, int expected_tri)
 {
     //method
@@ -36,6 +43,10 @@
     }
 }
 
+/**debugs sqr wave
+* @takes input Pulsewidth, wavetable number and expected
+* @returns true sqr table value
+*/
 bool pulse_debug(int pulsewidth,int i, int expected_pulse)
 {
     //method
@@ -49,4 +60,4 @@
     }
 }
 
-#endif
+#endif
\ No newline at end of file