epsilonrt / piduino

Arduino API on Pi boards, the best of both worlds !
https://epsilonrt.fr/2019/01/piduino/
GNU Lesser General Public License v3.0
29 stars 7 forks source link

TwoWire::endTransmission() does not return the expected value #14

Closed epsilonrt closed 5 years ago

epsilonrt commented 5 years ago

TwoWire::endTransmission() returns a boolean that is true if successful, then it should return a byte, which indicates the status of the transmission: 0:success 1:data too long to fit in transmit buffer 2:received NACK on transmit of address 3:received NACK on transmit of data 4:other error