Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- temp[1] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[1]);
- temp[2] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[2]);
- temp[3] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[3]);
- temp[4] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[4]);
- temp[5] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[5]);
- temp[6] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[6]);
- temp[7] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[7]);
- temp[8] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[8]);
- temp[9] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[9]);
- temp[10] = map ( sensorValue , 0 , 1023 , -125 , 1333 ) / 100.0 ;
- delay(100);
- Serial.println(temp[10]);
- Druck = (temp[1] + temp[2] + temp[3] + temp[4] + temp[5]+ temp[6]+ temp[7]+ temp[8]+ temp[9]+ temp[10])/10 ;
- Serial.println("Ausgabe");
- Serial.println(Druck);
- Serial.println("");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement