void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(
map(analogRead(A0),0, 1023, 79, 1250000));
float strom = analogRead(A0) * (5.0/ 1023.0);
float widerstand = 10000 * (strom/5);
Serial.println(Widerstand);
Serial.println(widerstands);
}