![]() ![]() It just so happens that those two cases are the only examples I was able to find on the Arduino website. This wasn’t a problem I initially had since there are a couple of cases where it doesn’t present itself. Here is some example code and a workaround solution. ![]() Except when the slave sends the bytes back, they all show up as -1 except for the last one. The problem occurs when you have the master request a certain number of bytes from the slave. I friend also had the problem recently so I figured maybe it was common enough that this post could help other people. I ran into a bit of a weird problem a little while back when using I2C on Arduinos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |