Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
31:cfdb014ff086
Parent:
30:08cc4ec58d07
Child:
33:e7635c8a58a8
--- a/Sound/Sound.h	Tue May 26 10:17:47 2020 +0000
+++ b/Sound/Sound.h	Tue May 26 14:21:36 2020 +0000
@@ -31,18 +31,16 @@
 * @ (Self itterates)
 */
  uint16_t sound_main(bool initial, int waveform, int frequency); //runs main sound function
-
+ 
+ /**Iterator function.
+* @Itterates through wavetable values.
+* @Outputs Next i value for sound_main function.
+*/
+uint16_t wavetable_itt(uint16_t i, int frequency); //itterates wavetable
 
 private: //---------------------------------------------------------------------
 //Variables
 uint16_t i; //itterator as an uint
 double i_d; //itterator as a double
-
-//Functions
-/**Iterator function.
-* @Itterates through wavetable values.
-* @Outputs Next i value for sound_main function.
-*/
-uint16_t wavetable_itt(uint16_t i, int frequency); //itterates wavetable
 };
 #endif
\ No newline at end of file