ELEC2645 (2019/20) / Mbed 2 deprecated el18loc_final

Dependencies:   mbed

Revision:
10:258a1eca02cc
Parent:
9:f6ba53e355a0
Child:
11:6ae098535da9
diff -r f6ba53e355a0 -r 258a1eca02cc main.cpp
--- a/main.cpp	Wed May 06 14:37:34 2020 +0000
+++ b/main.cpp	Wed May 06 19:51:22 2020 +0000
@@ -66,8 +66,9 @@
   //volatile extern double sin_d[1024];
 
 
-    volatile extern uint16_t sin_wavtable[1024];
-    
+volatile extern uint16_t sin_wavtable[1024];
+volatile extern uint16_t tri_wavtable[1024];
+
 int main()
 {
     printf("RUNNING CODE \n");
@@ -77,6 +78,7 @@
         printf("DEBUG COMPILE RUNNING\n");
         run_LUTs_debug();
     #endif
+    
     menu.mainmenu(lcd,pad);
     //squareWave(); //generates pulse wave modulated by sin wave
     //sinspeak();