SmartD / Mbed 2 deprecated mbed_pH_test

Dependencies:   mbed

Fork of mbed_pH225 by SmartD

Revision:
2:46161d8200a2
Parent:
1:843151144560
Child:
3:98adc27dc82d
--- a/main.cpp	Wed Feb 18 05:26:48 2015 +0000
+++ b/main.cpp	Thu Feb 26 07:05:14 2015 +0000
@@ -5,11 +5,14 @@
 //serial connection via USB
 Serial pc(USBTX, USBRX); 
 AnalogIn pH_sensor(A0);
+AnalogOut temp_sensor(A2);
+ 
 
 int main()
 {
     float voltage, pH, tempC, tempF;
- 
+    //Power temperature sensor  
+    temp_sensor = 0.00002;
     while(1) {
         //Take average of readings over 10 seconds
         double totalVal = 0.0;