ECE 4180 - Final Project Team / Mbed 2 deprecated WalkieTalkie

Dependencies:   mbed 4DGL-uLCD-SE mbed-rtos nRF24L01P

Revision:
8:0222df74596e
Parent:
7:0ac1f1ca8aa6
Child:
33:5d86c111d9bc
--- a/Microphone.cpp	Wed Apr 18 15:09:32 2018 +0000
+++ b/Microphone.cpp	Wed Apr 18 15:22:38 2018 +0000
@@ -18,5 +18,5 @@
 uint8_t Microphone::getData()
 {
     // This can be better but this should work for now
-    return (mymicrophone - (0.67/3.3)) * UINT8_MAX;
+    return (read() - (0.67/3.3)) * UINT8_MAX;
 }
\ No newline at end of file