Pages: [1]   Go Down
Author Topic: Wire library documentation request  (Read 764 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
CJH Innovations
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Please add a note to the Wire Library pages at http://arduino.cc/en/Reference/Wire

"The maximum buffer size for transmissions is 32 bytes."

I spent a lot of debug time trying to figure out why I could not read more than 32 bytes when I discovered this limitation in Wire.h and twi.h

Maybe it would make it better for the next guy.

Thanks
Logged

Offline Offline
Edison Member
*
Karma: 17
Posts: 1041
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Please add a note to the Wire Library pages at http://arduino.cc/en/Reference/Wire

"The maximum buffer size for transmissions is 32 bytes."

I spent a lot of debug time trying to figure out why I could not read more than 32 bytes when I discovered this limitation in Wire.h and twi.h

Maybe it would make it better for the next guy.

Thanks

Creepy, I was just trying to figure out the answer to that yesterday.

I agree with you, especially since when you're transmitting it has to store everything in the buffer until the end transmission is called. It's not like HardwareSerial where it just waits until it starts to empty it again.
Logged

Pages: [1]   Go Up
Jump to: