Adds a check to verify if the port had been already enabled, and only in that case disables/re-enables the port. This also solves the issue of setClock being called after begin(), but doesn't not enable the port if begin() had not been called yet. |
||
---|---|---|
.. | ||
examples | ||
SoftWire.cpp | ||
SoftWire.h | ||
Wire.cpp | ||
Wire.h | ||
WireBase.cpp | ||
WireBase.h | ||
rules.mk |