Skip to content

EEPROM_class example doesn't fully work #3785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TLS1000 opened this issue Mar 3, 2020 · 3 comments · Fixed by #3786
Closed

EEPROM_class example doesn't fully work #3785

TLS1000 opened this issue Mar 3, 2020 · 3 comments · Fixed by #3786
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@TLS1000
Copy link

TLS1000 commented Mar 3, 2020

Hi, when testing this example, the two numbers get stored correctly in NVM, however the char array is not stored correctly.

Serial output:

Testing EEPROMClass

name: Teo Swee Ann
height: 5.80
age: 47

name:
height: 0.00
age: 0

name: k�@?⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮jkA⸮
height: 5.80
age: 47
Done!

@TLS1000
Copy link
Author

TLS1000 commented Mar 3, 2020

when using the .writeString() /commit() / .readString() functions, the char array is stored correct.

@stale
Copy link

stale bot commented May 2, 2020

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label May 2, 2020
@stale
Copy link

stale bot commented May 16, 2020

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant