Hi I program atmega32 by arduino sketch and mightycore to compile and flash hex file
but i does not work
i simulate in proteus it does not work too,
all the code checked but i used these code too
arduino as a slaver
atmega32 as a master
Do you use that code EXACTLY? Or did you make changes?
And what about a circuit diagram? Please NO Fritzing breadboard mess! A simple hand drawing will do.
Exactly code
Wiring was So simple
A4 > A4
A5 > A5
I would like you to check in it in proteus
Don't forget the pull ups 
You can't use A4 and A5 for i2c on ATmega32. i2c is on pin D16 and D17.
Documentation vise MightyCore is decent enough. If you have a look at the pinout pictures you'll quickly see that ATmega328P (Arduino UNO) and ATmega32 isn't exactly pin compatible.
OOOOOOOOOOOOOOOOOOOOHHHHHHHHHHHHHHHHHHHHHH
What a .....
Thanks...