Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
11:6ae098535da9
Parent:
10:258a1eca02cc
Child:
14:9cfe0041cc4e
--- a/LUTs/LUTs.h	Wed May 06 19:51:22 2020 +0000
+++ b/LUTs/LUTs.h	Thu May 07 12:22:39 2020 +0000
@@ -27,6 +27,7 @@
     void initial_wavetables();
     void sin_wavetable();
     void tri_wavetable(int pulsewidth);
+    void pulse_wavetable(int pulsewidth);
 
 private:
 //variables
@@ -37,7 +38,10 @@
     uint16_t dif_u;
     int i;
     float rise_t;
-    float fall_t;
+    uint16_t rise_tu;
+    uint16_t fall_tu;
+    float up_t;
+    int up_tu;
     
 };
 #endif
\ No newline at end of file