| ??? 06/16/08 11:48 Read: times |
#155947 - No, you don't Responding to: ???'s previous message |
Mahesh Joshi said:
First of all I need to know which EEPROM are you using? No, you don't need to know that! You would only need that for the single-byte read & write routines - and he says he has those already. In EEPROM what ever data u store is nothing but few bytes. True - as has already been mentioned. char : 1 byte
short : 2 bytes long : 4 bytes float : 4 bytes Note that these sizes are compiler-specific; since he hasn't said what compiler he's using, you can't say for sure what sizes it will use! string [n]: n bytes don't forget the NUL terminator... |
| Topic | Author | Date |
| EEPROM ... floating & string read - write | 01/01/70 00:00 | |
| byte by byte... | 01/01/70 00:00 | |
| you know as much as the EEPROM does! | 01/01/70 00:00 | |
| Strings & Things | 01/01/70 00:00 | |
| Not just floats, save structures too | 01/01/70 00:00 | |
| I do it too :) | 01/01/70 00:00 | |
| Array | 01/01/70 00:00 | |
| and, in that case ... | 01/01/70 00:00 | |
| details ... | 01/01/70 00:00 | |
what does it mean "not succeeded"? | 01/01/70 00:00 | |
| float is possible but not STRINGS ... | 01/01/70 00:00 | |
| No magic involved | 01/01/70 00:00 | |
| and where's the terminating null char written? | 01/01/70 00:00 | |
| which EEPROM | 01/01/70 00:00 | |
| No, you don't | 01/01/70 00:00 | |
| does NVRwrite matches your EEPROM | 01/01/70 00:00 |



