Hello,
I have a humidity sensor which gives an “int” number in mV (call for me “Vcor”) . Something like 850 .
Can you give me a code example of how to print it to the screen?
I try something like :
[code]Vcor = ValeurcapteurH*4.88;
Serial.print(“Humectation = " ); //affichage sur ordi
Serial.print(Vcor);
Serial.println(” mV");
digitalWrite(pulse, LOW); // fin de pulse
delay(10000); // pause 10 secondes avant nouvelle mesure
SeeedGrayOled.setTextXY(2,0); //set Cursor to 2 line, 0th column
SeeedGrayOled.putString("Vcor = "); //Print
SeeedOled.putFloat(Vcor);[/code]
but it’s not the solution
Thanks