unsigned char EEByteWrite( PARAM_SCLASS unsigned char control, PARAM_SCLASS unsigned char address, PARAM_SCLASS unsigned char data ); unsigned int EERandomRead( PARAM_SCLASS unsigned char control, PARAM_SCLASS unsigned char address );
I can find the prototypes of EEByteWrite and EERandomRead functions in library file i2c.h but I can't find the whole functions where their whole working has been defined. I want to change the data type of one argument (unsigned char address-unsigned int address) but only changing the type in the prototype isn't working so I want to change the function accordingly. Anybody knows where theses functions are. If not plz help me to put value more than 255 in unsigned char address so I can complete my project.
I am using PIC 18F4520 , I2C interfacing with AT24c16 EEPROM. The Compiler I am working on is MPLAB IDE v8.50 PIC C18 other header files included in i2c.h is pconfig.h ( just #defines and #ifndefs )
If any other query or req. info ask me in cooments. THANKS.