diff --git a/README.md b/README.md index 5f11195..5b15330 100644 --- a/README.md +++ b/README.md @@ -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_