esp8266 freeram1 arduino에서 nodeMCU(ESP8266)의 freeRAM 값 얻어오기 skthingplug를 이용하기 위해 GMMP 라이브러리를 보면 Arduino용으로 freeRAM 값을 얻어오는 코드를 보면 아래와 같다. 12345678910int freeRam () { // __brkval is the address of the top of the heap // if memory has been allocated. // If __brkval is zero then it means malloc has not used any memory yet, so // we look at the address of __heap_start. extern int __heap_start; extern int *__brkval; // address of the top of heap int stack_top.. 2016. 1. 7. 이전 1 다음 인기글