-->
Page 1 of 1

Wire.endTransmission() wrong return parameter

PostPosted: Sun Apr 05, 2015 6:17 am
by penatenjoe
It seems as if the Wire library endTransmission function is returning the size of the data to be sent, i.e. sending one byte yields 1. In http://arduino.cc/en/Reference/WireEndTransmission 0 indicates sucessful transmission of the data whereas 1..4 various errors.