| ??? 06/13/08 00:40 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#155785 - and, in that case ... Responding to: ???'s previous message |
Note that strlen works for the special case of a NUL-terminated string only - it cannot just be used on any arbitrary array...
.. why worry about the lenght, just stop when you see the terminator. Erik |
| 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 |



