کدش اینه ، اگر مشکل از اون مواردی که گفته شد نیست پس سنسورتون خراب هست احتمالاکد:float tempC; int reading; int tempPin = 0; void setup() { analogReference(INTERNAL); } void loop() { reading = analogRead(tempPin); tempC = reading / 9.31; }
کدش اینه ، اگر مشکل از اون مواردی که گفته شد نیست پس سنسورتون خراب هست احتمالاکد:float tempC; int reading; int tempPin = 0; void setup() { analogReference(INTERNAL); } void loop() { reading = analogRead(tempPin); tempC = reading / 9.31; }