As i know those 24c04 are I2C device... you must use I2CREAD and I2CWRITE