Skip to content

Commit

Permalink
made some more comments on the .ino
Browse files Browse the repository at this point in the history
  • Loading branch information
Orlando Hoilett authored and Orlando Hoilett committed Jul 29, 2020
1 parent 067e8ab commit 82badb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/DS1844_example/DS1844_example.ino
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ void loop() {
brightness[i]++; //Increment brightness
ds1844.write(i, brightness[i]); //Write the brightness to the selected potentiometer
readout = ds1844.read(i); //Display the newly written value to the serial monitor
Serial.print((readout >> 6), DEC);
Serial.print((readout >> 6), DEC); //prints potentiometer number (0-3)
Serial.print(",");
Serial.println(readout & (0x3F));
Serial.println(readout & (0x3F)); //prints potentiometer setting (0-63)
delay(50);
}
}
Expand Down

0 comments on commit 82badb3

Please sign in to comment.