stevemarple / SoftWire

Software I2C implementation for Arduino and other Wiring-type environments
GNU Lesser General Public License v2.1
136 stars 31 forks source link

Better documentation of run-time setting sda and scl pins #15

Closed joesphan closed 3 years ago

joesphan commented 3 years ago

Hello! Love your library Steve, I was having trouble finding how to set sda pins and scl pins during runtime, I'm requesting this block of code be mentioned in the README:

void SoftWire::setSda(uint8_t sda)
{
    _sda = sda;
}

void SoftWire::setScl(uint8_t scl)
{
    _scl = scl;
}
stevemarple commented 3 years ago

Thank you for mentioning this, I have updated the README.