Libelium / waspmoteapi

Tested and stable Waspmote API repository
138 stars 129 forks source link

No need to wait after Wire.requestFrom() and it should not be followed by Wire.endTransmission(). #28

Open Koepel opened 6 years ago

Koepel commented 6 years ago

In the files:

there is waiting with timeout and sometimes a Wire.endTransmission() after a Wire.requestFrom(). All of that is not needed.

I assume that the changed Wire library still works just like the official Arduino Wire library.

Explanation: Common-mistakes, number 1 and 2.

Libelium commented 6 years ago

Hi Koepel,

Thanks for your contribution. We will take a look into the API to correct it.

Regards