Teo-CD
fab5d22364
The Wire documentation only shows read() to get data from the I²C stream. However, Wire inherits from Stream, so it gets access to all the same functions, like readBytes(), which can read more than one character. Replace the innermost loop of the cartridge load by readBytes instead of calling read() in a loop. |
||
---|---|---|
.. | ||
SendCart.ino |