I have the ESP8266 from Olimex
https://www.olimex.com/Products/IoT/ESP ... e-hardware
I'd like to use the ESP as a I2C-Master. It's horrible but i spend so many hours today and a did not even get a signal on one of the pins. Ckecked it with an oscilloscop. I would really appreciate if someone could tell me which of these pins on this piece here are SCL and SDA:
https://www.olimex.com/Products/IoT/MOD ... e-hardware
and the shematics:
https://github.com/OLIMEX/ESP8266/blob/ ... ematic.pdf
Another thing I'd like to know is, how to use I2C in the Arduino Code. I'm rly confused about this. Today I read SCL and SDA are either Pin 0 and 2, 2 and 4, 4 and 5 and I even heard that there is only Software I2C possible on the ESP8266.
In fact I already worked with I2C on Arduino, but with an Arduino Mega board only, that seems to be somewhat easier.
I would be super thankful if someone could give me just a little piece of code, how to initialize I2C on the ESP.
Greetings John