rambo / TinyWire

My modifications to TinyWire Arduino libs
284 stars 121 forks source link

Execute request call for each byte requested #40

Closed JasperHorn closed 6 years ago

JasperHorn commented 6 years ago

This reverses the change done in a503849. That change changed the API (even if it wasn't in a way visible through the methods) and failed to match the way the library was intended to be used.

This once again makes it possible to send more bytes than the buffer can hold from a slave to the master in one go.