Skip to content

Commit

Permalink
update examples, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
orgua committed Mar 2, 2016
1 parent 7762fb7 commit 7438d1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/OneWireHubTest/OneWireHubTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void loop()
{
// following function must be called periodically
hub.poll();
// this part is just for debugging (dbg_HINT in OneWire.h must be enables for output)
// this part is just for debugging (USE_SERIAL_DEBUG in OneWire.h must be enabled for output)
if (hub.getError()) hub.printError();

// Blink triggers the state-change
Expand Down
2 changes: 1 addition & 1 deletion examples/Sensor_DS18B20/Sensor_DS18B20.ino
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void loop()
{
// following function must be called periodically
hub.poll();
// this part is just for debugging (dbg_HINT in OneWire.h must be enables for output)
// this part is just for debugging (USE_SERIAL_DEBUG in OneWire.h must be enabled for output)
if (hub.getError()) hub.printError();

// Blink triggers the state-change
Expand Down
2 changes: 1 addition & 1 deletion examples/Sensor_DS2408/Sensor_DS2408.ino
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void loop()
{
// following function must be called periodically
hub.poll();
// this part is just for debugging (dbg_HINT in OneWire.h must be enables for output)
// this part is just for debugging (USE_SERIAL_DEBUG in OneWire.h must be enabled for output)
if (hub.getError()) hub.printError();

// Blink triggers the state-change
Expand Down
2 changes: 1 addition & 1 deletion examples/debug-codesize-4slaves/debug-codesize-4slaves.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ auto ds2401b = DS2401( 0x01, 0x00, 0x0D, 0x24, 0x01, 0x00, 0x0B );

bool blinking()
{
const uint32_t interval = 500; // interval at which to blink (milliseconds)
const uint32_t interval = 5000; // interval at which to blink (milliseconds)
static uint32_t nextMillis = millis(); // will store next time LED will updated

if (millis() > nextMillis)
Expand Down

0 comments on commit 7438d1d

Please sign in to comment.