I want to controll arduino with ESP8266 and Espressif using I2C. Will anybody please provide a sample program and steps.
do you want sample program for arduino, for esp or all two?
in which ide? xtensa, eclipse, arduino ide..
there are many possibles.
what must the esp do with arduino?
esp as master
arduino as slave?
do you simple use the iot example, there is esp as master code in it
then use arduino ide there are i2c slave examples in it too
last but not least, look in the docu threads, there are documents about I2C
and on last side, there is an example how you can read with esp from a slave.
any further help, write on here again