What response time can one expect on a 1-wire network that consist of around 20 different sensor - miliseconds, seconds?
Are trying to find out if one can use magnetic sensor on the doors connected to 1-wire to turn the on light
Thanks
for ( int a = 0; a < 19; a++) {
present = ds.reset();
ds.select(addr);
ds.write(0xBE); // Read Scratchpad
for ( i = 0; i < 9; i++) { // we need 9 bytes
data[i] = ds.read();
Serial.print(data[i], HEX);
Serial.print(" ");
}
Serial.println();
}
Serial.println("----------------------------");
Users browsing this forum: No registered users and 1 guest