azkhan
Newbie level 3

hi 2 everone there,
in my project, i m using at89s8252 microcontroller with EEPROM memory of 2k bytes, i found software I2C in mikroC for 8051, but the example code given there is for at89s8253, i m new to the mikroC or Library, so i need help whether i should include #include<at89s8252.h> ? or how i could include the I2C library in my design for at89s8252? i m using 29 variables upon increment only that variable should be store in eeprom of mcu, every vaiably should be a maxximum of 2bytes, a pc interface is used to display the stored variables from the eeprom of the mcu plz help me out bcoz when i included the header file #include<at89s8252.h> then an error occured during compilation in mikroC.
in my project, i m using at89s8252 microcontroller with EEPROM memory of 2k bytes, i found software I2C in mikroC for 8051, but the example code given there is for at89s8253, i m new to the mikroC or Library, so i need help whether i should include #include<at89s8252.h> ? or how i could include the I2C library in my design for at89s8252? i m using 29 variables upon increment only that variable should be store in eeprom of mcu, every vaiably should be a maxximum of 2bytes, a pc interface is used to display the stored variables from the eeprom of the mcu plz help me out bcoz when i included the header file #include<at89s8252.h> then an error occured during compilation in mikroC.