Skip to content
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
4 changes: 4 additions & 0 deletions libraries/Wire/Wire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ void TwoWire::begin(uint8_t address) {
sercom->enableWIRE();
}

void TwoWire::setClock(uint32_t frequency) {
// dummy funtion
}

uint8_t TwoWire::requestFrom(uint8_t address, size_t quantity, bool stopBit)
{
if(quantity == 0)
Expand Down
1 change: 1 addition & 0 deletions libraries/Wire/Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class TwoWire : public Stream
TwoWire(SERCOM *s);
void begin();
void begin(uint8_t);
void setClock(uint32_t); // dummy function

void beginTransmission(uint8_t);
uint8_t endTransmission(bool stopBit);
Expand Down