this simple program is an example to let u know how the ADC can be enabled in w7500

Dependencies:   mbed

Revision:
0:60d6189b9b0d
Child:
1:6b3079b2bfcc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Dec 23 10:27:26 2015 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+AnalogIn Current(A0);
+int meas;
+
+
+int main()
+{
+     printf("\n GSAS Micro Systems \r\n");
+     
+     wait(0.1f);
+ 
+    while(1) {
+        meas = Current.read_u16();
+        
+            printf("value = %d\r\n",meas);
+            wait(0.1f);
+            }
+            
+  
+        }
+        
+    
\ No newline at end of file