2017-03-27 13:58:25 -06:00
|
|
|
// MemoryFree library based on code posted here:
|
|
|
|
// http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1213583720/15
|
|
|
|
// Extended by Matthew Murdoch to include walking of the free list.
|
|
|
|
|
2017-04-19 08:12:12 -06:00
|
|
|
#ifndef MEMORY_FREE_H
|
2017-03-27 13:58:25 -06:00
|
|
|
#define MEMORY_FREE_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int freeMemory();
|
|
|
|
|
2017-04-19 08:12:12 -06:00
|
|
|
#ifdef __cplusplus
|
2017-03-27 13:58:25 -06:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|