document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. int sensorValue=0;
  2. int umidita=0;
  3. void setup(){
  4. Serial.begin(9600);
  5.  
  6. }
  7. void loop(){
  8. sensorValue = analogRead(0);
  9. umidita = map (sensorValue, 100, 970, 100, 0);
  10. Serial.println(umidita);
  11. delay(100);
  12.  
  13. }
');