Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libraries/Wire/Wire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ void TwoWire::onService(void)

TwoWire Wire(PIN_WIRE_SDA, PIN_WIRE_SCL);

TwoWire Wire1(PIN_WIRE_SDA1, PIN_WIRE_SCL1);

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 2 additions & 0 deletions libraries/Wire/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,7 @@ class TwoWire : public Stream
};

extern TwoWire Wire;

extern TwoWire Wire1;

#endif