ATmega 

memory use


http://jeelabs.org/2011/05/22/atmega-memory-use/


int freeRam () {
  extern int __heap_start, *__brkval; 
  int v; 
  return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); 
}

이거면 충분하다. 경고 떠도 작동한다


추가 :

Debugging AVR dynamic memory allocation | Andys ...

andybrown.me.uk › Home › arduino
이 페이지 번역하기
2011. 1. 1. - The caveat to this is that an AVR MCU does not have much RAM available for you to use. Memory leaks due to poor coding have always been 

http://andybrown.me.uk/wk/2011/01/01/debugging-avr-dynamic-memory-allocation/


AVR Stack Overflow

posted by 털보네i
: