Search found 1 match

by KMTronic
Tue Dec 15, 2020 1:27 pm
Forum: 1-Wire Forum
Topic: Refresh/update time on 1-wire network
Replies: 1
Views: 22824

Re: Refresh/update time on 1-wire network

Hi, I in a hurry test read Scratchpad one DS18B20 1-wire sensor 20 times. Here is code: 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.prin...

Go to advanced search