Commit Graph

6 Commits

Author SHA1 Message Date
Mikael Johansson
78f7bb18c5 Flush buffers on every I2C transaction, in case the user hasn't consumed all bytes
F
2020-10-11 15:24:14 +02:00
Mikael Johansson
763c23d13c Refacted TwoWire::begin() to reduce duplicated code with TwoWire::setClock() 2020-10-11 14:59:18 +02:00
Mikael Johansson
7c7ec509ac Return number of received bytes from TwoWire::requestFrom(), like Arduino documentation specifies
Nl
2020-10-11 12:12:37 +02:00
Mikael Johansson
359f7a89f2 Fixed return value bug in TwoWire::write 2020-10-10 16:48:14 +02:00
Bigbits
6d6add4a05 fix a bug 2019-05-08 20:21:13 +08:00
Bigbits
04786cac13 Add Wire
Signed-off-by: Bigbits <btx000@qq.com>
2019-03-28 18:47:39 +08:00