I just start to learn about EEPROM and read from many sources. I've some confusion at some point.
- byte and word:what is the main difference among them. I notice from the examples that when a variable is declared for byte it is uint8_t and for word it's uint6_t.Is it kind of byte takes one byte space and word takes 2 byte?
can I assign values like normal variables to those variables which I use to write in eeprom?
- block: In this block functions say write or read at last part we give "size_t n".
is this the number of bytes we want to read or size of data type we are using like char or int?
If it's the number of byte we want to read/write then which I use when I want to write a "char arr" string? should it 10*sizeof(char) if char takes 2 byte?
sorry for this long questions and if there is any stupid questions. :shock:
I'm just confused.