Hello i'm using due + 24c64 (8192x8) , i want to know i can store only 255 one one address while i using 64k ic . so please tell me why it storing till 255 ( i don't want use low byte and high byte concept because i'm using 24c64)
i want to store number greater then 255. most of people suggest to split data in low ans high byte and then store. but i'm using 24c64 which have capacity to store large number.
So break down your larger number into byte-sized chunks and store them separately. That's exactly what the people are doing who suggest the use of a high and low byte. It works for them, why wouldn't it work for you?
It doesn't have to do with the capacity of your memory. It is related to the way in which data is transferred over I2C to the memory chip. I2C is based on byte-wise transfers, so everything you send over I2C you generally break up into individual bytes.
You can always write a function that accepts e.g. a float which is then broken up into 4 bytes inside the function which are then transmitted separately to the chip. That way it still works but in programming higher level functions you're not bothered by the process of breaking up etc.