Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Dec 10, 2023
1 parent 826c813 commit 44dd811
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/PCF8574_Wire2/PCF8574_Wire2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FILE: PCF8574_Wire2.ino
// AUTHOR: Rob Tillaart
// DATE: 2016-04-30
// PUPROSE: demo
// PURPOSE: demo


#include "PCF8574.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/PCF8574_rotaryEncoder/PCF8574_rotaryEncoder.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FILE: PCF8574_rotaryEncoder.ino
// AUTHOR: Rob Tillaart
// DATE: 2021-05-08
// PUPROSE: demo PCF8574 as rotary encoder reader.
// PURPOSE: demo PCF8574 as rotary encoder reader.
//
//
// RotaryEncoder PCF8574 UNO
Expand Down
2 changes: 1 addition & 1 deletion examples/PCF8574_test1/PCF8574_test1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FILE: PCF8574_test.ino
// AUTHOR: Rob Tillaart
// DATE: 27-08-2013
// PUPROSE: demo
// PURPOSE: demo


#include "PCF8574.h"
Expand Down
2 changes: 1 addition & 1 deletion examples/PCF8574_test2/PCF8574_test2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FILE: pcf8574_test2.ino
// AUTHOR: Rob Tillaart
// DATE: 2016-04-30
// PUPROSE: demo rotateLeft, rotateRight and toggleMask
// PURPOSE: demo rotateLeft, rotateRight and toggleMask


#include "PCF8574.h"
Expand Down
6 changes: 3 additions & 3 deletions examples/PCF8574_test_ESP32/PCF8574_test_ESP32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ void setup()
Serial.print("PCF8574_LIB_VERSION:\t");
Serial.println(PCF8574_LIB_VERSION);

Wire.begin();

// adjust pins if needed
PCF_01.begin(20, 21);
Wire.begin(20, 21);

PCF_01.begin();

int x = PCF_01.read8();
Serial.print("Read ");
Expand Down
2 changes: 1 addition & 1 deletion test/unit_test_001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ unittest(test_address)
{
PCF8574 PCF(0x38);

Wire.begin
Wire.begin();

// incorrect in test environment.
assertTrue(PCF.begin());
Expand Down

0 comments on commit 44dd811

Please sign in to comment.