Skip to content

Commit

Permalink
scratchpad is 9 bytes
Browse files Browse the repository at this point in the history
scratchpad is 9 bytes not 12 (even for 12 bit resolution)
  • Loading branch information
karlomblus authored Mar 19, 2022
1 parent c66a255 commit c2ebe85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/DS18x20_Temperature/DS18x20_Temperature.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void loop(void) {
byte i;
byte present = 0;
byte type_s;
byte data[12];
byte data[9];
byte addr[8];
float celsius, fahrenheit;

Expand Down

0 comments on commit c2ebe85

Please sign in to comment.