Open AxTheB opened 4 years ago
Yes, you have to make them virtual, but you have to do it in Wire.h. Having this merged is just a step on my quest to get it working upstream (or at least having less libraries to patch when deploying my hardware)
Arduino Teams decided they didn't want to set up Virtual the functions in Wire.h.
It would still be useful match all functions with TwoWire API, but should be cheched if not only this two functions need modifications. If you like to do it, I'll accept the new PR Thank you
… match TwoWires, so it can be used in 3rd party libraries. (if/when Arduino makes beginTransmission, beginTransmission and requestFrom virtual)