Skip to content

Commit 57af720

Browse files
committed
fix comments
1 parent 3b8bd99 commit 57af720

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libraries/Wire/Wire.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
#define TwoWire_h
2626

2727
/*
28-
If you need multiple TwoWire instnaces for multiple I2C master interfaces,
28+
If you need multiple TwoWire instances for multiple I2C master interfaces,
2929
define TWOWIRE_MASTER_ONLY (and optionally NO_GLOBAL_TWOWIRE). Then, you can
3030
freely instantiate the TwoWire class. If you do NOT define TWOWIRE_MASTER_ONLY,
31-
all TwoWire instances will share the same Master-or-Slave core TWI
32-
implementation -> any call to begin(...) will change pins used for all instances.
31+
all the class called TwoWire will behave like singleton-like (existing behaviour)
32+
and all instances will share the same Master-or-Slave core TWI implementation
33+
-> any call to begin(...) will change pins used for all instances.
3334
3435
You can use different configuration in separate compilation units, e.g., use
3536
TWOWIRE_MASTER_ONLY in most of the code, and don't use it only in the

0 commit comments

Comments
 (0)