Dependencies: mbed AvailableMemory
Diff: main.cpp
- Revision:
- 0:804397913aa2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Dec 21 22:11:25 2010 +0000 @@ -0,0 +1,9 @@ +#include <stdio.h> +#include "AvailableMemory.h" + +int main() { + + printf("Available memory (bytes to nearest 256) : %d\n", AvailableMemory()); + printf("Available memory (exact bytes) : %d\n", AvailableMemory(1)); + +} \ No newline at end of file