Skip to content
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