MemoryFree is an Arduino library, that allows you to keep track of the amount of free memory that is available at runtime.
Why do you need to track of memory?
When you try to push the boundaries of Arduino, by doing complex stuff like parsing JSON or making YQL request you would need to keep a close eye on the amount of memory used. This library allows you to do it dynamically, which would help you to debug memory related issues in your Arduino program.
Download
You can download the library from github. The examples are there inside the /examples folder. After downloading place the MemoryFree folder inside your Arduino’s /library folder
License
The source code and the config files are released under “THE BEER-WARE” license.
I would, however, consider it a great courtesy if you could email me and tell me about your project and how this code was used, just for my own continued personal gratification ๐
You can also find other ways to make me happy, if you liked this project ๐
Credits
The library uses code from the following places and the credit goes to the original authors. I have merged code from different places and have put together a nice example and readme ๐
- Original code was from this forum post
- Minimum RAM Check was picked up from USB Host library
Stay updated
If you want to be informed when new version of this library is released, then you have to subscribe to this blog’s RSS feed or follow me in twitter.