trying to get Demilove 328 and DS18b20 program running


when run standard 1 wire program output relates piece of code

no more addresses
no more addresses
no more addresses
no more addresses
etc
etc

i new tell me piece of code , why looping endlessly

if ( !ds.search(addr)) {
      serial.print("no more addresses.\n");
      ds.reset_search();
      return;
  }


thanks help

that code calls function looks 1wire devices , prints out addresses of devices finds , prints out no more addresses.
if contillully outputs message means contillully running piece of code.


Arduino Forum > Using Arduino > Programming Questions > trying to get Demilove 328 and DS18b20 program running


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial