Skip to content
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

It would be nice for MemoryUsage to provide numeric values (enhancement) #8

Open
philj404 opened this issue Jun 5, 2021 · 0 comments

Comments

@philj404
Copy link

philj404 commented Jun 5, 2021

The MemoryUsage macros provide good insight into what is happening with RAM storage.

But it would be nice to have the library return numeric values, too. This could be used in different ways:

  • A sketch can print values in decimal or hex (or both)
  • A sketch can customize the output text
  • A sketch can send output to somewhere other than Serial
  • A sketch can do more than just print the information collected. For example a sketch could safely restart itself if it detected a memory leak (before it crashes).

I have created a pull request #7 which could help with this suggestion. Please let me know if you have questions or concerns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant