mDot / Mbed OS Honneywell_Dust_Simple
Revision:
1:8cad8f7852d4
Parent:
0:8326629a1b97
Child:
2:65f09ca5b557
--- a/Main.cpp	Tue Aug 01 13:40:48 2017 +0000
+++ b/Main.cpp	Tue Aug 01 13:55:13 2017 +0000
@@ -1,4 +1,4 @@
-/* Run Honneywell Dust Sensor in continous Sampling Mode on a mDot
+/* Run Honeywell Dust Sensor in continous Sampling Mode on a mDot
    Version 1.0
    Steve Mylroie Roitronic August 1st 2017
    @C Copyright Global Quality Corp
@@ -177,18 +177,18 @@
         {
           OledTimer= t.read_ms(); 
           
-          printf("PM1.0: %d ug/m3", PM01Value);  
+          pc.printf("PM1.0: %d ug/m3", PM01Value);  
 //          debug.print(PM01Value);
 //          debug.println("  ug/m3");            
         
-          printf("PM2.5: %d ug/m3", PM2_5Value);  
+          pc.printf("PM2.5: %d ug/m3", PM2_5Value);  
 //          debug.print(PM2_5Value);
 //          debug.println("  ug/m3");     
           
-          printf("PM10: %d ug/m3", PM10Value);  
+          pc.printf("PM10: %d ug/m3", PM10Value);  
 //          debug.print(PM10Value);
 //          debug.println("  ug/m3");   
-          printf("\n");
+          pc.printf("\n");
             
         }
     }