-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ambiguity when trying to use the requestFrom #6
Comments
I believe the proper fix would be Wire.requestFrom(ctrlByte, static_cast<uint8_t>(nRead)); There are several other similar calls, looks like I may have missed the cast in one or two. I'm going to have to look at it for a bit. Stand by. |
Would you test this please and let me know if it fixes the issue.
|
I got a compilation warning regarding ambiguity when trying to use the requestFrom method.
I was using Arduino IDE 1.8.19, Target DUE.
In function uint8_t JC_EEPROM::read
I changed to this to sort the warning out.
The text was updated successfully, but these errors were encountered: