Skip to content

Update README.md for MacOS #10

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,22 @@ Fixed built-in Master I²C driver for Arduino ESP8266 core. Sorry it doesn't sup

[Click here to download the ZIP file](https://github.com/enjoyneering/ESP8266-I2C-Driver/archive/master.zip)

### Windows
Copy and replace "**twi.h**", "**core_esp8266_si2c.cpp**" in folder %USERPROFILE%\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\cores\esp8266

Copy and replace "**Wire.h**", "**Wire.cpp**" in folder %USERPROFILE%\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\Wire

### MacOS
Copy and replace "**twi.h**", "**core_esp8266_si2c.cpp**" in folder
```bash
open ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.*.*/cores/esp8266
```

Copy and replace "**Wire.h**", "**Wire.cpp**" in folder
```bash
open ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.*.*/libraries/Wire
```

If you want to keep the original files - just change the file extension* to "**twi.h.OLD**" and etc. Then you always can go back.

*_if you change the file name you get an error at compile time_
Expand Down