x

Dependencies:   Servo ServoArm mbed

Fork of PES_PIXY_Officiall by zhaw_st16b_pes2_10

Revision:
3:63da1d1fae15
Parent:
0:15a8480061e8
--- a/Sources/Farbsensor.cpp	Thu May 25 18:12:28 2017 +0000
+++ b/Sources/Farbsensor.cpp	Fri May 26 08:01:48 2017 +0000
@@ -1,6 +1,6 @@
 #include "Robot.h"
 #include "Declarations.h"
-Serial pc1(USBTX, USBRX);
+
 
 Farbsensor::Farbsensor()
 {   
@@ -28,8 +28,7 @@
     else{
         float Ufarbsensor = messungen/10.0;
         Ufarbsensor = Ufarbsensor*3300;//Set the Voltage between 0mV und 3300mV
-        pc1.printf("measure = %.0f mV\n", Ufarbsensor); 
-        
+
         messungen = 0.0f;
         time = 0;
         if ((Ufarbsensor > GREEN_DOWNLIMIT) && (Ufarbsensor < GREEN_UPLIMIT))