Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By torntrousers
#18208
tytower wrote:Well things have changed with IDE 1.6.4. The ESP stuff is brought down with a json file from the repo and it says it updates at startup . The above was the only Wire library I could find so I assumed that must be the culprit.

Just as an FYI, in the IDE if you go to menu option File -> Preferences then down the bottom of that panel theres a bit "More preferences can be edited directly in the file " and a clickable file link. In that folder is a directory "packages" and thats where the ESP files go now.
User avatar
By tytower
#18336 OK Now have I2C getting a reading but its not right so I think there is some sort of timing issue . The pins used on my ESP-12 board are 4 (SDA) and 5(SCL) so that confirms pins 2,4 and 5 are all working as GPIO 2,4 and 5 respectively.

I have tried using the Wire.setClock(100000); method with various speeds 80000 to 400000 to no avail