Memory Allocation - Arduino
- by Joey Arnold Andres
I'm new to this low level stuff. I'm currently learning arduino. I'm currently using an Arduino Mega 2560 and in our course we are practicing memory management. I'm a pro at memory management in pc but somehow I'm having crazy problems here in arduino. For instance:
The arduino have 8192B, I'm trying to overflow it with uint_16 so I made an array of 8192/16 which is 512. so I did
uint16_t A[512+1];
Well I expected that to cause an overflow.
What is wrong with my concept?