-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Wire.h is not included in any examples #5288
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
Comments
Not without testing. In theory, examples that work on avr and other "simple" uCs should work on the ESP. In practice, due tothe wifi radio and tcp/ip stack, they sometimes don't due to timing differences. Unfortunately, I don't think any of the current developers are involved with i2c at this time, so testing would need to be done by users. @mcspr care to make a PR yourself with tested examples? |
@devyte master<->slave communication seem like a straightforward test target two other examples are for devices which i do not have: AD5171 digital potentiometer and SRF10/SRF08 Devantech Ultrasonic Range Finder. But what I do have is DS3231 |
Riight now we don't have any example, so whatever you have. |
Note: 4 Wire examples from avr core repo, master reader/writer & slave receiver/sender. |
Related to #5226 and discussion in cb05b86#comments
As there are no
.ino
files referencingWire.h
compilation tests do not fail:Arduino/tests/common.sh
Line 46 in d7ca884
Arduino/tests/common.sh
Line 176 in d7ca884
https://github.com/esp8266/Arduino/tree/master/libraries/Wire/examples
In #5287 I referenced twi.h and Wire from avr core. Can those examples be copied here?
https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/Wire/examples
The text was updated successfully, but these errors were encountered: