You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when it goes first while then numberFound = 1,but the secode while set numberFound = 0,so numberFound always no be 2;
my solution is clear numberFound = 0(line 26)
the result is :
Temperatures: 80.6F 80.6F
Temperatures: 27.0C 27.0C
Temperature: 27.0C
// search for 2 addresses on the oneWire protocol
while (search(tempSensorAddresses[numberFound],true)) {
numberFound++;
if (numberFound == 2) break;
}
// if 2 addresses aren't found then flash the LED rapidly
while (numberFound != 2) {
numberFound = 0;
if you have a good idea for solve this problem please tell me. thank you every much
The text was updated successfully, but these errors were encountered:
when it goes first while then numberFound = 1,but the secode while set numberFound = 0,so numberFound always no be 2;
my solution is clear numberFound = 0(line 26)
the result is :
Temperatures: 80.6F 80.6F
Temperatures: 27.0C 27.0C
Temperature: 27.0C
if you have a good idea for solve this problem please tell me. thank you every much
The text was updated successfully, but these errors were encountered: