Posts by Lisias • 21 points
1 post
-
2
votes3
answers4153
viewsA: Why are local variables avoided in Arduino?
What happens is that variables defined within a scope are allocated in the function frame (in the stack). Globally defined variables go straight to the data segment. The difference is that while…