MAX4466 with ability to take instananeous level of mic

Dependents:   4180_Tuner

Revision:
2:0090c008b13e
Parent:
0:712373b300a2
diff -r 712373b300a2 -r 0090c008b13e MAX4466.cpp
--- a/MAX4466.cpp	Fri Oct 23 18:37:33 2015 +0000
+++ b/MAX4466.cpp	Sun Apr 28 20:45:26 2019 +0000
@@ -104,6 +104,10 @@
     return _value;
 }
 
+float MAX4466::instantlevel(){
+    return _pin.read();     
+    }
+
 //VOLUME INDICATOR FUNCTION:
 //To be called in main function
 void MAX4466::volume_indicator() {