stevemarple / SoftWire

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

Support buffers >= 256 bytes? #38

Open acscd opened 1 week ago

acscd commented 1 week ago

Although quite rare, there are some applications where one needs to send or receive buffers >= 256 bytes.

This can be supported simply by changing some uint8_t variables to size_t.

The attached diffs contain the required changes.

SoftWire.cpp.diff.txt SoftWire.h.dif.txt