We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am looking code for interface to 24LC256. The code should be check error if device not present when read data from device etc. ==================================== bit write_eeprom(unsigned int address,unsigned char dat); return : 0 if not error : 1 if have error ==================================== bit read_eeprom(unsigned int address); return : 0 if not error : 1 if have error and how to get data when use read_eeprom(address) Thanks.
"you should easily be able to convert it to C." Why waste the effort? Just call it from 'C'!