Skip to content

Commit 163f328

Browse files
committed
README updated
1 parent 0173e46 commit 163f328

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,17 @@ PCF85263A_simple |PCF85263A |**Simple** sample for just getting current time
107107
PCF85263A_interrupt_based_operation |PCF85263A |**Interrupt based** operation: Demonstrates using 2 interrupt lines
108108
PCF85263A_timestamp |PCF85263A |**Timestamp** operation: Demonstrates timestamp feature
109109
110+
### TIPS
111+
If you need to use different I²C bus on Arduino, it can be done like this. This sample shows how the `Wire1` on Arduino Due can be operated.
112+
```cpp
113+
include <PCF2131_I2C.h>
114+
115+
PCF2131_I2C rtc(Wire1);
116+
117+
void setup() {
118+
Wire1.begin();
119+
```
120+
110121
# Document
111122

112123
For details of the library, please find descriptions in [this document](https://teddokano.github.io/RTC_NXP_Arduino/annotated.html).

0 commit comments

Comments
 (0)