dimanche 29 mai 2016

Memory, Variables and Objects

Memory is a big issue in Arduino.

1. The available RAM is very small compared to other platforms. For example the Uno has 2k of RAM.
2. There is no sophisticated heap management which means that usage of dynamic memory should be avoided.
3. Programs are expected to run for a long time with zero memory leaks.

There are two types of variables in B4R: local variables and global variables.

Local variables are always created on the stack. This means that any object created in a sub, other than...

Memory, Variables and Objects

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1NXDFzo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire